Skip to contents

Deprecated. Use [load_schedule()] instead, which supports all tours and shares its output format with the rest of the package.

Usage

load_pga_schedule(year, tour = "pga")

Arguments

year

Numeric. The year to load (e.g., 2025).

tour

Character. Tour type, default "pga".

Value

A tibble with tournament schedule data.

Examples

# \donttest{
load_pga_schedule(2025)
#> Warning: `load_pga_schedule()` was deprecated in golfastr 0.2.0.
#> ℹ Please use `load_schedule()` instead.
#> # A tibble: 49 × 4
#>    event_id  tournament_name                               start_date end_date  
#>    <chr>     <chr>                                         <date>     <date>    
#>  1 401703489 The Sentry                                    2025-01-02 2025-01-05
#>  2 401703490 Sony Open in Hawaii                           2025-01-09 2025-01-12
#>  3 401703491 The American Express                          2025-01-16 2025-01-19
#>  4 401703492 Farmers Insurance Open                        2025-01-22 2025-01-25
#>  5 401703493 AT&T Pebble Beach Pro-Am                      2025-01-30 2025-02-02
#>  6 401703494 WM Phoenix Open                               2025-02-06 2025-02-09
#>  7 401703495 The Genesis Invitational                      2025-02-13 2025-02-16
#>  8 401703496 Mexico Open at VidantaWorld                   2025-02-20 2025-02-23
#>  9 401703497 Cognizant Classic in The Palm Beaches         2025-02-27 2025-03-02
#> 10 401703498 Arnold Palmer Invitational pres. by Masterca… 2025-03-06 2025-03-09
#> # ℹ 39 more rows
# }