golfastr
0.2.0Efficiently Access Pro Golf Data
Overview
Fetch Professional Golfers' Association (PGA) Tour tournament data from ESPN https://www.espn.com/golf/ including leaderboards and hole-by-hole scoring. Data is returned in tidy tibble format ready for analysis. Supports local storage via RDS or 'Apache Arrow' Parquet files for fast repeated access. Designed for golf analytics, data journalism, and fantasy sports research.
Install
Health
- OK2026-05-1213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-05-1112 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1013 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 13%
- Documented parameters
- 98%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Commits over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/array-carpenter/golfastr on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 11 max
- Test cases
- 11 / 0.07 per code line
Test coverage
Line coverage
36%
Expression
26.8%
Tests / Examples
35.9% / 16% ex
Functions
54 43 exported
Complexity
3.4 avg / 11 max
Call network
54 nodes / 62 edges
Call graph
Open call graph →Lowest coverage
54 functions| Function | Cyclo | Coverage |
|---|---|---|
| build_season exp | 7 | 0% |
| check_season exp | 4 | 0% |
| compare_players exp | 2 | 0% |
| field_strength exp | 2 | 0% |
| get_majors exp | 2 | 0% |
| get_player exp | 3 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| strokes_gained | tbl_df/tbl/data.frame | 182 × 11 | – |
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest
- 0.1.52026-02-12
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-12
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 6.1 KB / 1 file
- Download size
- 190 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet