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: 2022-09-17 20:02:49 UTC
#> # A tibble: 563 × 30
#>      game_id season  week season_type start_date     start_time_tbd neutral_site
#>        <int>  <int> <int> <chr>       <chr>          <lgl>          <lgl>       
#>  1 401218616   2020     1 regular     2020-08-30T01… FALSE          TRUE        
#>  2 401238035   2020     1 regular     2020-09-04T00… FALSE          FALSE       
#>  3 401207101   2020     1 regular     2020-09-04T01… FALSE          FALSE       
#>  4 401237353   2020     1 regular     2020-09-05T17… FALSE          FALSE       
#>  5 401235700   2020     1 regular     2020-09-05T17… FALSE          FALSE       
#>  6 401212484   2020     1 regular     2020-09-05T20… FALSE          FALSE       
#>  7 401207098   2020     1 regular     2020-09-05T23… FALSE          FALSE       
#>  8 401212553   2020     1 regular     2020-09-06T00… FALSE          FALSE       
#>  9 401239884   2020     1 regular     2020-09-06T01… FALSE          FALSE       
#> 10 401234576   2020     1 regular     2020-09-08T00… FALSE          FALSE       
#> # ℹ 553 more rows
#> # ℹ 23 more variables: 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>, away_post_win_prob <chr>, away_pregame_elo <int>, …
# }