golfastr: Efficiently Access Pro Golf Data

Designed for quickly grabbing PGA Tour data. Includes a large data update with shot-level PGA Tour 'ShotLink' data, tee times and course setup, strokes gained, win probability after every hole, a what's in the bag database (WITBDB) of player equipment, an ID crosswalk between 'ESPN' and the PGA Tour, and logo image URLs. Leaderboards and hole-by-hole scoring come from 'ESPN' <https://www.espn.com/golf/> for the PGA Tour, LIV Golf, LPGA, DP World Tour and Champions Tour. Completed seasons are served from hosted files for fast repeated access, and data can be saved as RDS, 'Apache Arrow' Parquet or a 'SQLite' database.

Version: 0.3.0
Depends: R (≥ 4.0)
Imports: httr2, dplyr, tibble, lifecycle, cli
Suggests: testthat (≥ 3.0.0), arrow, DBI, ggplot2, RSQLite
Published: 2026-10-30
DOI: 10.32614/CRAN.package.golfastr
Author: Ray Carpenter [aut, cre, cph]
Maintainer: Ray Carpenter <raymondcarpenter1 at gmail.com>
BugReports: https://github.com/array-carpenter/golfastr/issues
License: MIT + file LICENSE
URL: https://golfastr.com/, https://github.com/array-carpenter/golfastr
NeedsCompilation: no
Materials: README, NEWS
In views: SportsAnalytics
CRAN checks: golfastr results

Documentation:

Reference manual: golfastr.html , golfastr.pdf

Downloads:

Package source: golfastr_0.3.0.tar.gz
Windows binaries: r-devel: golfastr_0.2.0.zip, r-release: golfastr_0.2.0.zip, r-oldrel: golfastr_0.2.0.zip
macOS binaries: r-release (arm64): golfastr_0.3.0.tgz, r-oldrel (arm64): golfastr_0.3.0.tgz, r-release (x86_64): golfastr_0.3.0.tgz, r-oldrel (x86_64): golfastr_0.3.0.tgz
Old sources: golfastr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=golfastr to link to this page.