CRAN resubmission with documentation fixes.
@return tags to legacy functions\dontrun{} vs \donttest{} usage
in examplesThis release focuses on CRAN compliance and simplifying the storage backend.
save_to_db() and load_from_db() -
DuckDB storage has been replaced with simpler file-based storagedb_path parameter now use
file_path insteadsave_to_parquet() - Save tournament data to Parquet
format for cross-language compatibilityload_from_parquet() - Load tournament data from Parquet
filesload_data() - Unified data loading that auto-detects
format (.rds or .parquet)build_season() now accepts file_path
parameter supporting both .rds and .parquet formatscheck_season() updated to work with file-based
storagewin_leaders(),
top10_leaders(), tournament_history(), etc.)
now use file_path parametertools::R_user_dir() for CRAN
compliancecat() calls with message()
for suppressible outputarrow package moved to Suggests (optional, only needed
for Parquet)Initial release.
load_tournament() - Load leaderboard data for any PGA
Tour tournamentload_tournament_detail() - Load tournament with
hole-by-hole scorecardsload_holes() - Load hole-by-hole scoring dataload_schedule() - Get tournament schedule for a
seasonlist_tournaments() - List available tournamentsget_player() - Look up player results across
tournamentsget_winners() - Get tournament winnersget_majors() - Get major championship resultsplayer_summary() - Aggregate player statisticscompare_players() - Side-by-side player comparisonwin_leaders() - Players with most winstop10_leaders() - Players with most top-10
finishesscoring_avg_leaders() - Scoring average
leaderboardtournament_history() - Historical results for a
tournamentplot_player() - Visualize player finishesplot_leaderboard() - Tournament leaderboard bar
chartplot_wins() - Win distribution chartplot_scoring() - Scoring distribution histogramplot_head_to_head() - Compare multiple playerssave_to_rds() / load_from_rds() - RDS file
storagebuild_season() - Incrementally build season data
filecheck_season() - Check season loading progresscache_info() - View cache statusclear_cache() - Clear cached data