Skip to contents

This returns game/schedule information

Usage

load_cfb_schedules(seasons = most_recent_cfb_season())

Arguments

seasons

a numeric vector of seasons to return, default TRUE returns all available data.

Value

A tibble of game information for past and/or future games.

See also

cfbd_game_info()

Issues with this data should be filed here: https://github.com/sportsdataverse/cfbfastR-data

Examples

# \donttest{
  try(load_cfb_schedules(2020))
#> ── Games and schedules from data repository ────────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-08-25 06:30:25 UTC
#> # A tibble: 542 × 31
#>      game_id season  week season_type start_date        start_time_tbd completed
#>        <int>  <int> <int> <chr>       <chr>             <lgl>          <lgl>    
#>  1 401238035   2020     1 regular     2020-09-04T00:00… FALSE          TRUE     
#>  2 401207101   2020     1 regular     2020-09-04T01:00… FALSE          TRUE     
#>  3 401237353   2020     1 regular     2020-09-05T17:00… FALSE          TRUE     
#>  4 401235700   2020     1 regular     2020-09-05T17:30… FALSE          TRUE     
#>  5 401212484   2020     1 regular     2020-09-05T20:30… FALSE          TRUE     
#>  6 401207098   2020     1 regular     2020-09-05T23:30… FALSE          TRUE     
#>  7 401212553   2020     1 regular     2020-09-06T00:00… FALSE          TRUE     
#>  8 401239884   2020     1 regular     2020-09-06T01:00… FALSE          TRUE     
#>  9 401234576   2020     1 regular     2020-09-08T00:00… FALSE          TRUE     
#> 10 401234559   2020     2 regular     2020-09-11T00:00… FALSE          TRUE     
#> # ℹ 532 more rows
#> # ℹ 24 more variables: neutral_site <lgl>, conference_game <lgl>,
#> #   attendance <int>, venue_id <int>, venue <chr>, home_id <int>,
#> #   home_team <chr>, home_conference <chr>, home_division <chr>,
#> #   home_points <int>, home_post_win_prob <chr>, home_pregame_elo <int>,
#> #   home_postgame_elo <int>, away_id <int>, away_team <chr>,
#> #   away_conference <chr>, away_division <chr>, away_points <int>, …
# }