| Title: | Efficiently Access Pro Golf Data |
|---|---|
| Description: | 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. |
| Authors: | Ray Carpenter [aut, cre, cph] |
| Maintainer: | Ray Carpenter <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.5 |
| Built: | 2026-05-27 06:25:13 UTC |
| Source: | https://github.com/array-carpenter/golfastr |
Incrementally load all tournaments for a season into a local file. Skips tournaments already saved. Safe to interrupt and resume.
build_season(year, file_path, tour = "pga")build_season(year, file_path, tour = "pga")
year |
Season year |
file_path |
Path to data file (.rds or .parquet). Must be specified by user. |
tour |
Tour name (default: "pga") |
Invisibly returns number of tournaments added (integer).
## Not run: # Build 2025 season (run multiple times if needed) build_season(2025, file_path = tempfile(fileext = ".rds")) ## End(Not run)## Not run: # Build 2025 season (run multiple times if needed) build_season(2025, file_path = tempfile(fileext = ".rds")) ## End(Not run)
Shows information about the current cache including location, number of files, and total size.
cache_info()cache_info()
Invisible NULL. Called for side effects (prints to console).
cache_info()cache_info()
See which tournaments are loaded vs missing for a season.
check_season(year, file_path, tour = "pga")check_season(year, file_path, tour = "pga")
year |
Season year |
file_path |
Path to data file (.rds or .parquet). Must be specified by user. |
tour |
Tour name (default: "pga") |
A tibble showing status of each tournament with columns: event_id, tournament_name, start_date, end_date, and status (either "loaded" or "missing").
## Not run: progress <- check_season(2025, file_path = "my_golf_data.rds") ## End(Not run)## Not run: progress <- check_season(2025, file_path = "my_golf_data.rds") ## End(Not run)
Removes all cached data files from the local cache directory.
clear_cache(confirm = TRUE)clear_cache(confirm = TRUE)
confirm |
Logical. If TRUE (default), prompts for confirmation before clearing. Set to FALSE to skip confirmation. |
Invisible NULL. Called for side effects.
clear_cache() clear_cache(confirm = FALSE)clear_cache() clear_cache(confirm = FALSE)
Side-by-side comparison of multiple players.
compare_players(players, year = NULL, file_path)compare_players(players, year = NULL, file_path)
players |
Vector of player names |
year |
Optional year filter |
file_path |
Path to data file (.rds or .parquet) |
Tibble comparing player statistics
## Not run: compare_players(c("Scheffler", "McIlroy", "Hovland"), file_path = "golf_data.rds") ## End(Not run)## Not run: compare_players(c("Scheffler", "McIlroy", "Hovland"), file_path = "golf_data.rds") ## End(Not run)
Analyze the strength of a tournament field.
field_strength(tournament, year, file_path)field_strength(tournament, year, file_path)
tournament |
Tournament name |
year |
Season year |
file_path |
Path to data file (.rds or .parquet) |
Tibble with field statistics
## Not run: field_strength("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: field_strength("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)
Get results from the four major championships.
get_majors(year, file_path)get_majors(year, file_path)
year |
Season year |
file_path |
Path to data file (.rds or .parquet) |
Tibble with major championship results
## Not run: # Get 2025 majors get_majors(2025, file_path = "golf_data.rds") ## End(Not run)## Not run: # Get 2025 majors get_majors(2025, file_path = "golf_data.rds") ## End(Not run)
Look up a player's results across all tournaments in a data file.
get_player(name, file_path)get_player(name, file_path)
name |
Player name (partial match, case-insensitive) |
file_path |
Path to data file (.rds or .parquet) |
Tibble with player's tournament results
## Not run: # Get Rory McIlroy's results get_player("McIlroy", file_path = "golf_data.rds") # Get Scottie Scheffler's results get_player("Scheffler", file_path = "golf_data.rds") ## End(Not run)## Not run: # Get Rory McIlroy's results get_player("McIlroy", file_path = "golf_data.rds") # Get Scottie Scheffler's results get_player("Scheffler", file_path = "golf_data.rds") ## End(Not run)
Get all tournament winners from a data file.
get_winners(year = NULL, file_path)get_winners(year = NULL, file_path)
year |
Optional year filter |
file_path |
Path to data file (.rds or .parquet) |
Tibble with tournament winners
## Not run: # Get all winners get_winners(file_path = "golf_data.rds") # Get 2025 winners get_winners(2025, file_path = "golf_data.rds") ## End(Not run)## Not run: # Get all winners get_winners(file_path = "golf_data.rds") # Get 2025 winners get_winners(2025, file_path = "golf_data.rds") ## End(Not run)
Get formatted leaderboard for display.
leaderboard(tournament, year, top_n = 10, file_path)leaderboard(tournament, year, top_n = 10, file_path)
tournament |
Tournament name |
year |
Season year |
top_n |
Number of players to show (default: 10) |
file_path |
Path to data file (.rds or .parquet) |
Formatted tibble for display
## Not run: leaderboard("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: leaderboard("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)
Get a list of all available tournaments for a given year.
list_tournaments(year, tour = "pga")list_tournaments(year, tour = "pga")
year |
Season year (e.g., 2025) |
tour |
Tour name: "pga" (default), "liv", "lpga", "euro", or "champions". |
Tibble with event_id, tournament_name, start_date, end_date
# See all 2025 PGA tournaments list_tournaments(2025) # See LIV Golf schedule list_tournaments(2026, tour = "liv")# See all 2025 PGA tournaments list_tournaments(2025) # See LIV Golf schedule list_tournaments(2026, tour = "liv")
Load tournament data from a file. Auto-detects format based on extension.
load_data(file_path, tournament = NULL)load_data(file_path, tournament = NULL)
file_path |
Path to data file (.rds or .parquet) |
tournament |
Optional tournament name filter (partial match) |
A tibble with tournament leaderboard data
## Not run: # Load all data data <- load_data("golf_data.rds") # Load and filter to Masters masters <- load_data("golf_data.rds", tournament = "Masters") ## End(Not run)## Not run: # Load all data data <- load_data("golf_data.rds") # Load and filter to Masters masters <- load_data("golf_data.rds", tournament = "Masters") ## End(Not run)
Load tournament data from a Parquet file. Requires the arrow package.
load_from_parquet(file_path)load_from_parquet(file_path)
file_path |
Path to Parquet file. Must be specified by user. |
A tibble with tournament leaderboard data containing columns such as position, player name, scores, and tournament metadata.
## Not run: data <- load_from_parquet(file_path = "my_golf_data.parquet") ## End(Not run)## Not run: data <- load_from_parquet(file_path = "my_golf_data.parquet") ## End(Not run)
Load Tournament Data from RDS
load_from_rds(file_path)load_from_rds(file_path)
file_path |
Path to RDS file. Must be specified by user. |
A tibble with tournament leaderboard data containing columns such as position, player name, scores, and tournament metadata.
## Not run: data <- load_from_rds(file_path = "my_golf_data.rds") ## End(Not run)## Not run: data <- load_from_rds(file_path = "my_golf_data.rds") ## End(Not run)
Retrieves hole-by-hole scoring data for tournaments.
load_holes( year = as.integer(format(Sys.Date(), "%Y")), tournament = NULL, top_n = NULL, tour = "pga" ) get_player_scorecards(event_id, athlete_id)load_holes( year = as.integer(format(Sys.Date(), "%Y")), tournament = NULL, top_n = NULL, tour = "pga" ) get_player_scorecards(event_id, athlete_id)
year |
Season year (e.g., 2026). Defaults to current year. |
tournament |
Tournament identifier - either event_id or partial name match. |
top_n |
Number of top finishers to include. Default NULL returns all. |
tour |
Tour identifier. Currently supports "pga" (default). |
event_id |
ESPN event identifier (for legacy function) |
athlete_id |
ESPN athlete identifier (for legacy function) |
A tibble with hole-by-hole data including:
player_id: ESPN athlete ID
player_name: Player display name
round: Round number (1-4)
hole: Hole number (1-18)
par: Par for the hole
score: Player's score on the hole
score_type: BIRDIE, PAR, BOGEY, EAGLE, etc.
tournament_id: Event ID
A tibble with hole-by-hole scoring data
get_player_scorecards(): Legacy function for backwards compatibility
# Load hole-by-hole for top 10 at Sony Open holes <- load_holes(2026, "Sony", top_n = 10)# Load hole-by-hole for top 10 at Sony Open holes <- load_holes(2026, "Sony", top_n = 10)
Retrieves leaderboard data for tournaments. Can load a single tournament or all tournaments for a year.
load_leaderboard( year = as.integer(format(Sys.Date(), "%Y")), tournament = NULL, tour = "pga" ) get_tournament_leaderboard(event_id)load_leaderboard( year = as.integer(format(Sys.Date(), "%Y")), tournament = NULL, tour = "pga" ) get_tournament_leaderboard(event_id)
year |
Season year (e.g., 2026). Defaults to current year. |
tournament |
Tournament identifier - either event_id or partial name match. If NULL, returns all tournaments for the year. |
tour |
Tour identifier. Currently supports "pga" (default). |
event_id |
ESPN event identifier (for legacy function) |
A tibble with leaderboard data including:
position: Final standing
player_id: ESPN athlete ID
player_name: Player display name
total_score: Total strokes
score_to_par: Score relative to par (e.g., "-11")
tournament_id: Event ID
tournament_name: Tournament name
A tibble with leaderboard data
get_tournament_leaderboard(): Legacy function for backwards compatibility
# Load specific tournament by name sony <- load_leaderboard(2026, "Sony")# Load specific tournament by name sony <- load_leaderboard(2026, "Sony")
Loads detailed hole-by-hole scoring data for specified tournaments.
load_pga_hbh(years, tournaments = NULL, top_n = 10, tour = "pga", dir = NULL)load_pga_hbh(years, tournaments = NULL, top_n = 10, tour = "pga", dir = NULL)
years |
Numeric vector. Year(s) to load. |
tournaments |
Character vector. Optional tournament event IDs or names. If NULL, loads all tournaments. |
top_n |
Numeric. Number of top finishers to include scorecards for. Default is 10. Set to NULL for all players. |
tour |
Character. Tour type, default "pga". |
dir |
Character. Optional directory to save CSV files. |
A tibble with hole-by-hole scoring data.
# Load Masters hole-by-hole for top 10 masters_hbh <- load_pga_hbh(2025, tournaments = "401703504") # Load with more players masters_hbh <- load_pga_hbh(2025, tournaments = "401703504", top_n = 50)# Load Masters hole-by-hole for top 10 masters_hbh <- load_pga_hbh(2025, tournaments = "401703504") # Load with more players masters_hbh <- load_pga_hbh(2025, tournaments = "401703504", top_n = 50)
Loads tournament leaderboard data for specified year(s) and tournament(s). This is similar to nflfastR's data loading pattern.
load_pga_leaderboards(years, tournaments = NULL, tour = "pga", dir = NULL)load_pga_leaderboards(years, tournaments = NULL, tour = "pga", dir = NULL)
years |
Numeric vector. Year(s) to load (e.g., 2025 or 2023:2025). |
tournaments |
Character vector. Optional tournament event IDs or names to filter. If NULL, loads all tournaments. |
tour |
Character. Tour type, default "pga". |
dir |
Character. Optional directory to save CSV files. |
A tibble with leaderboard data.
# Load specific tournament masters <- load_pga_leaderboards(2025, tournaments = "401703504") # Load all 2025 tournaments all_2025 <- load_pga_leaderboards(2025)# Load specific tournament masters <- load_pga_leaderboards(2025, tournaments = "401703504") # Load all 2025 tournaments all_2025 <- load_pga_leaderboards(2025)
Loads the PGA Tour tournament schedule for a given year. Similar to nflfastR's schedule loading functions.
load_pga_schedule(year, tour = "pga")load_pga_schedule(year, tour = "pga")
year |
Numeric. The year to load (e.g., 2025). |
tour |
Character. Tour type, default "pga". |
A tibble with tournament schedule data.
schedule <- load_pga_schedule(2025)schedule <- load_pga_schedule(2025)
Retrieves a directory of players for a tour. Since ESPN doesn't have a dedicated player directory endpoint, this aggregates players from recent tournament leaderboards.
load_players(year = as.integer(format(Sys.Date(), "%Y")), tour = "pga")load_players(year = as.integer(format(Sys.Date(), "%Y")), tour = "pga")
year |
Season year to pull players from. Defaults to current year. |
tour |
Tour identifier. Currently supports "pga" (default). |
A tibble with player data including:
player_id: ESPN athlete ID
player_name: Player display name
# Get player directory players <- load_players()# Get player directory players <- load_players()
Retrieves the tournament schedule for a given year and tour.
load_schedule(year = as.integer(format(Sys.Date(), "%Y")), tour = "pga") get_pga_schedule(year = format(Sys.Date(), "%Y"))load_schedule(year = as.integer(format(Sys.Date(), "%Y")), tour = "pga") get_pga_schedule(year = format(Sys.Date(), "%Y"))
year |
Season year (e.g., 2026). Defaults to current year. |
tour |
Tour identifier. Currently supports "pga" (default). |
A tibble with columns:
event_id: ESPN event identifier
tournament_name: Tournament name
start_date: Tournament start date
end_date: Tournament end date
A tibble with tournament schedule data
get_pga_schedule(): Legacy function for backwards compatibility
# Get current year schedule schedule <- load_schedule() # Get specific year schedule_2025 <- load_schedule(2025)# Get current year schedule schedule <- load_schedule() # Get specific year schedule_2025 <- load_schedule(2025)
Returns pre-built strokes gained data from the PGA Tour, with all six SG categories per player: putting, around the green, approach, off the tee, tee to green, and total.
load_strokes_gained(player = NULL)load_strokes_gained(player = NULL)
player |
Optional player name filter (partial match, case-insensitive). |
Data is sourced from the PGA Tour and updated with each package release. To filter by player, use standard dplyr operations on the returned tibble.
A tibble with one row per player and columns:
player_id: PGA Tour player ID
player_name: Player display name
country: Three-letter country code
sg_putt: Strokes Gained: Putting (per round avg)
sg_arg: Strokes Gained: Around the Green (per round avg)
sg_app: Strokes Gained: Approach the Green (per round avg)
sg_ott: Strokes Gained: Off the Tee (per round avg)
sg_t2g: Strokes Gained: Tee to Green (per round avg)
sg_total: Strokes Gained: Total (per round avg)
rounds: Number of measured (ShotLink) rounds
season: PGA Tour season year
# Get all strokes gained data sg <- load_strokes_gained() # Look up a specific player load_strokes_gained("Scheffler")# Get all strokes gained data sg <- load_strokes_gained() # Look up a specific player load_strokes_gained("Scheffler")
Fetch leaderboard data for a tournament. You can specify either the event_id or search by tournament name.
load_tournament(year, tournament, tour = "pga")load_tournament(year, tournament, tour = "pga")
year |
Season year (e.g., 2025) |
tournament |
Tournament name (partial match) or event_id |
tour |
Tour name: "pga" (default), "liv", "lpga", "euro", or "champions". |
Tibble with tournament leaderboard
# Load by name (partial match works) masters <- load_tournament(2025, "Masters") pga_champ <- load_tournament(2025, "PGA Championship") # Load LIV Golf tournament adelaide <- load_tournament(2026, "Adelaide", tour = "liv")# Load by name (partial match works) masters <- load_tournament(2025, "Masters") pga_champ <- load_tournament(2025, "PGA Championship") # Load LIV Golf tournament adelaide <- load_tournament(2026, "Adelaide", tour = "liv")
Fetch full tournament data including hole-by-hole scorecards.
load_tournament_detail(year, tournament, top_n = 10, tour = "pga")load_tournament_detail(year, tournament, top_n = 10, tour = "pga")
year |
Season year (e.g., 2025) |
tournament |
Tournament name (partial match) or event_id |
top_n |
Only fetch scorecards for top N finishers (default: 10) |
tour |
Tour name: "pga" (default), "liv", "lpga", "euro", or "champions". |
List with 'leaderboard' and 'scorecards' tibbles
# Get Masters with top 10 scorecards masters_detail <- load_tournament_detail(2025, "Masters", top_n = 10)# Get Masters with top 10 scorecards masters_detail <- load_tournament_detail(2025, "Masters", top_n = 10)
Get players by percentage of cuts made.
made_cuts_leaders(year = NULL, min_events = 5, top_n = 10, file_path)made_cuts_leaders(year = NULL, min_events = 5, top_n = 10, file_path)
year |
Optional year filter |
min_events |
Minimum events played |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
Tibble with made cuts leaders
## Not run: made_cuts_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: made_cuts_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)
Returns a data frame with field names and descriptions for leaderboard or hole-by-hole data.
pga_field_descriptions(data_type = c("leaderboard", "holes"))pga_field_descriptions(data_type = c("leaderboard", "holes"))
data_type |
Character. Either "leaderboard" or "holes". |
A tibble with field and description columns.
pga_field_descriptions("leaderboard") pga_field_descriptions("holes")pga_field_descriptions("leaderboard") pga_field_descriptions("holes")
Returns a data frame with the four major championships and their typical schedule.
pga_majors()pga_majors()
A tibble with tournament, month, and course columns.
pga_majors()pga_majors()
Returns a data frame with score type classifications used in hole-by-hole data.
pga_score_types()pga_score_types()
A tibble with score_type, strokes_vs_par, and description columns.
pga_score_types()pga_score_types()
Get aggregate statistics for a player's season.
player_summary(name, year = NULL, file_path)player_summary(name, year = NULL, file_path)
name |
Player name (partial match) |
year |
Optional year filter |
file_path |
Path to data file (.rds or .parquet) |
Tibble with season statistics
## Not run: player_summary("Scheffler", file_path = "golf_data.rds") player_summary("McIlroy", year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: player_summary("Scheffler", file_path = "golf_data.rds") player_summary("McIlroy", year = 2025, file_path = "golf_data.rds") ## End(Not run)
Compare two or more players' finishes across tournaments.
plot_head_to_head(players, year = NULL, file_path)plot_head_to_head(players, year = NULL, file_path)
players |
Vector of player names |
year |
Optional year filter |
file_path |
Path to data file (.rds or .parquet) |
ggplot object
## Not run: plot_head_to_head(c("Scheffler", "McIlroy"), file_path = "golf_data.rds") ## End(Not run)## Not run: plot_head_to_head(c("Scheffler", "McIlroy"), file_path = "golf_data.rds") ## End(Not run)
Bar chart of tournament leaderboard.
plot_leaderboard(tournament, year, top_n = 10, file_path)plot_leaderboard(tournament, year, top_n = 10, file_path)
tournament |
Tournament name |
year |
Season year |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
ggplot object
## Not run: plot_leaderboard("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: plot_leaderboard("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)
Visualize a player's finishes across tournaments.
plot_player(name, year = NULL, file_path)plot_player(name, year = NULL, file_path)
name |
Player name |
year |
Optional year filter |
file_path |
Path to data file (.rds or .parquet) |
ggplot object
## Not run: plot_player("Scheffler", file_path = "golf_data.rds") ## End(Not run)## Not run: plot_player("Scheffler", file_path = "golf_data.rds") ## End(Not run)
Histogram of tournament scores.
plot_scoring(tournament, year, file_path)plot_scoring(tournament, year, file_path)
tournament |
Tournament name |
year |
Season year |
file_path |
Path to data file (.rds or .parquet) |
ggplot object
## Not run: plot_scoring("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: plot_scoring("Masters", 2025, file_path = "golf_data.rds") ## End(Not run)
Pie/bar chart of wins by player.
plot_wins(year = NULL, top_n = 10, file_path)plot_wins(year = NULL, top_n = 10, file_path)
year |
Optional year filter |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
ggplot object
## Not run: plot_wins(year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: plot_wins(year = 2025, file_path = "golf_data.rds") ## End(Not run)
Save tournament data to a Parquet file for cross-language compatibility. Requires the arrow package.
save_to_parquet(data, file_path, append = TRUE)save_to_parquet(data, file_path, append = TRUE)
data |
Tibble of tournament data |
file_path |
Path to Parquet file. Must be specified by user. |
append |
If TRUE, append to existing data |
Invisible NULL. Called for side effects (writes to file).
## Not run: masters <- load_tournament(2025, "Masters") save_to_parquet(masters, file_path = tempfile(fileext = ".parquet")) ## End(Not run)## Not run: masters <- load_tournament(2025, "Masters") save_to_parquet(masters, file_path = tempfile(fileext = ".parquet")) ## End(Not run)
Save tournament data to an RDS file.
save_to_rds(data, file_path, append = TRUE)save_to_rds(data, file_path, append = TRUE)
data |
Tibble of tournament data |
file_path |
Path to RDS file. Must be specified by user. |
append |
If TRUE, append to existing data |
Invisible NULL. Called for side effects (writes to file).
## Not run: masters <- load_tournament(2025, "Masters") save_to_rds(masters, file_path = tempfile(fileext = ".rds")) ## End(Not run)## Not run: masters <- load_tournament(2025, "Masters") save_to_rds(masters, file_path = tempfile(fileext = ".rds")) ## End(Not run)
Get players with best scoring average.
scoring_avg_leaders(year = NULL, min_events = 5, top_n = 10, file_path)scoring_avg_leaders(year = NULL, min_events = 5, top_n = 10, file_path)
year |
Optional year filter |
min_events |
Minimum events played |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
Tibble with scoring average leaders
## Not run: scoring_avg_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: scoring_avg_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)
Pre-built dataset of strokes gained statistics from the PGA Tour. Contains per-round averages for all six strokes gained categories for players in the current season. Updated with each package release.
strokes_gainedstrokes_gained
A tibble with one row per player and 11 columns:
PGA Tour player ID
Player display name
Three-letter country code (e.g., "USA", "ENG")
Strokes Gained: Putting (per round average)
Strokes Gained: Around the Green (per round average)
Strokes Gained: Approach the Green (per round average)
Strokes Gained: Off the Tee (per round average)
Strokes Gained: Tee to Green (per round average)
Strokes Gained: Total (per round average)
Number of ShotLink-measured rounds
PGA Tour season year
PGA Tour (https://www.pgatour.com/stats)
Get players with most top 10 finishes.
top10_leaders(year = NULL, min_events = 5, top_n = 10, file_path)top10_leaders(year = NULL, min_events = 5, top_n = 10, file_path)
year |
Optional year filter |
min_events |
Minimum events played |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
Tibble with top 10 leaders
## Not run: top10_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: top10_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)
Get historical results for a specific tournament.
tournament_history(tournament, file_path)tournament_history(tournament, file_path)
tournament |
Tournament name (partial match) |
file_path |
Path to data file (.rds or .parquet) |
Tibble with tournament winners by year
## Not run: tournament_history("Masters", file_path = "golf_data.rds") ## End(Not run)## Not run: tournament_history("Masters", file_path = "golf_data.rds") ## End(Not run)
Get players with most wins.
win_leaders(year = NULL, top_n = 10, file_path)win_leaders(year = NULL, top_n = 10, file_path)
year |
Optional year filter |
top_n |
Number of players to show |
file_path |
Path to data file (.rds or .parquet) |
Tibble with win leaders
## Not run: win_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)## Not run: win_leaders(year = 2025, file_path = "golf_data.rds") ## End(Not run)