Skip to content

golfastr

0.2.0

Efficiently Access Pro Golf Data

0packages depend
1.4Kdownloads / year
35.9%test coverage
13/13checks pass

Overview

About
Maintained by Ray CarpenterFirst published 2026-02-122 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.07
35.9%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-05-12
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-11
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 365 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
13%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

1.4K
CRAN downloads in the past year
Rank #19,153 · ~4/day · ~115/mo
Daily download trend is not available in this view yet.
21330 days
62590 days
1.4K1 year
Compare downloads with other packages →
Also on36 r2u31 autocran

Repository

Repository
6Stars
1Forks
0Open issues
0Open PRs
4Releases
37Commits
1Contributors
37 commits · Last activity 2026-07-09 · +50% stars, 30d

Stars over time

2026-01-24 · 12026-07-15 · 6

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 2,334 (63%)Rd 1,399 (37%)
Code characteristics
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

Loading call graph…

Lowest coverage

54 functions
FunctionCycloCoverage
build_season exp70%
check_season exp40%
compare_players exp20%
field_strength exp20%
get_majors exp20%
get_player exp30%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
strokes_gainedtbl_df/tbl/data.frame182 × 11

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-02-18 · current release · diff ↗
  • 0.1.5
    2026-02-12
  • R
    R 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
Appears in task views
Report a problem with this page →