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.3 ──
#>  Data updated: 2022-09-17 20:02:49 UTC
#> # A tibble: 563 × 30
#>     game_id season  week seaso…¹ start…² start…³ neutr…⁴ confe…⁵ atten…⁶ venue…⁷
#>       <int>  <int> <int> <chr>   <chr>   <lgl>   <lgl>   <lgl>     <int>   <int>
#>  1   4.01e8   2020     1 regular 2020-0… FALSE   TRUE    FALSE        NA    3689
#>  2   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE     12716    3803
#>  3   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE        NA    3815
#>  4   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE     12001    3775
#>  5   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE      5249    3841
#>  6   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE      7500    3644
#>  7   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE      7611    3825
#>  8   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE      4537    3805
#>  9   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE      6047    3946
#> 10   4.01e8   2020     1 regular 2020-0… FALSE   FALSE   FALSE         0    3852
#> # … with 553 more rows, 20 more variables: 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>, away_postgame_elo <int>,
#> #   excitement_index <chr>, highlights <chr>, notes <lgl>, and abbreviated …
# }