This returns game/schedule information as maintained by Lee Sharpe.
See also
https://nflreadr.nflverse.com/articles/dictionary_schedules.html for a web version of the data dictionary
dictionary_schedules
for the data dictionary as a dataframe
Issues with this data should be filed here: https://github.com/nflverse/nfldata
Examples
# \donttest{
try({ # prevents cran errors
load_schedules(2020)
})
#> ── nflverse games and schedules ────────────────────────────────────────────────
#> ℹ Data updated: 2023-01-06 12:38:38 UTC
#> # A tibble: 269 × 45
#> game_id season game_…¹ week gameday weekday gamet…² away_…³ away_…⁴ home_…⁵
#> <chr> <int> <chr> <int> <chr> <chr> <chr> <chr> <int> <chr>
#> 1 2020_01… 2020 REG 1 2020-0… Thursd… 20:20 HOU 20 KC
#> 2 2020_01… 2020 REG 1 2020-0… Sunday 13:00 SEA 38 ATL
#> 3 2020_01… 2020 REG 1 2020-0… Sunday 13:00 CLE 6 BAL
#> 4 2020_01… 2020 REG 1 2020-0… Sunday 13:00 NYJ 17 BUF
#> 5 2020_01… 2020 REG 1 2020-0… Sunday 13:00 LV 34 CAR
#> 6 2020_01… 2020 REG 1 2020-0… Sunday 13:00 CHI 27 DET
#> 7 2020_01… 2020 REG 1 2020-0… Sunday 13:00 IND 20 JAX
#> 8 2020_01… 2020 REG 1 2020-0… Sunday 13:00 GB 43 MIN
#> 9 2020_01… 2020 REG 1 2020-0… Sunday 13:00 MIA 11 NE
#> 10 2020_01… 2020 REG 1 2020-0… Sunday 13:00 PHI 17 WAS
#> # … with 259 more rows, 35 more variables: home_score <int>, location <chr>,
#> # result <int>, total <int>, overtime <int>, old_game_id <chr>, gsis <int>,
#> # nfl_detail_id <chr>, pfr <chr>, pff <int>, espn <chr>, away_rest <int>,
#> # home_rest <int>, away_moneyline <int>, home_moneyline <int>,
#> # spread_line <dbl>, away_spread_odds <int>, home_spread_odds <int>,
#> # total_line <dbl>, under_odds <int>, over_odds <int>, div_game <int>,
#> # roof <chr>, surface <chr>, temp <int>, wind <int>, away_qb_id <chr>, …
# }