Skip to contents

Returns the active or next calendar slate, including completed games. Explicit windows require year, season_type, and week together; with none of them CFBD picks the slate itself and says which in the selection attribute.

Usage

cfbd_game_schedule(
  year = NULL,
  season_type = NULL,
  week = NULL,
  division = NULL,
  conference = NULL,
  proxy = NULL
)

Arguments

year

(Integer optional): Year, 4 digit format (YYYY). Explicit windows require year, season_type, and week together. Minimum value accepted: 2002

season_type

(String optional): Season type: regular or postseason.

week

(Integer optional): Week.

division

(String optional): Division of either participant: fbs or fcs. CFBD defaults to fbs. Sent to CFBD as classification.

conference

(String optional): Conference abbreviation of either participant.

proxy

(List optional): Per-call proxy override passed to get_req(). NULL (default) falls back to getOption("cfbfastR.proxy") and then the http(s)_proxy environment variables.

Value

cfbd_game_schedule() - A data frame with one row per game in the slate. The slate-level fields of the response are carried as attributes: attr(x, "selection") (active, next, explicit or none), attr(x, "window") and attr(x, "following_window") (each a list of year, seasonType, week, startDate, endDate), attr(x, "filters") and attr(x, "assembled_at"). Nested blocks (venue, playoff, odds) are flattened into prefixed columns when at least one game in the slate carries them.

col_nametypesdescription
game_idintegerReferencing game id.
seasonintegerSeason of the game.
weekintegerGame week.
season_typecharacterSeason type of the game.
start_datecharacterGame start date-time (ISO 8601, UTC).
start_time_tbdlogicalTRUE if the start time is still to be determined.
statuscharacterGame status.
status_checked_atcharacterWhen CFBD last checked the game status.
neutral_sitelogicalTRUE if the game is at a neutral site.
conference_gamelogicalTRUE if the game is a conference game.
venue_idintegerReferencing venue id.
venue_namecharacterVenue name.
venue_citycharacterVenue city.
venue_statecharacterVenue state.
home_team_idintegerHome team id.
home_team_namecharacterHome team name.
home_team_conferencecharacterHome team conference.
home_team_conference_abbreviationcharacterHome team conference abbreviation.
home_team_classificationcharacterHome team division classification.
home_team_pointsintegerHome team points.
away_team_idintegerAway team id.
away_team_namecharacterAway team name.
away_team_conferencecharacterAway team conference.
away_team_conference_abbreviationcharacterAway team conference abbreviation.
away_team_classificationcharacterAway team division classification.
away_team_pointsintegerAway team points.
playoff_competitioncharacterPlayoff competition.
playoff_formatcharacterPlayoff format.
playoff_roundcharacterPlayoff round.
playoff_round_namecharacterPlayoff round name.
playoff_bracket_slotcharacterPlayoff bracket slot.
playoff_home_seedintegerHome team playoff seed.
playoff_away_seedintegerAway team playoff seed.
playoff_bowl_namecharacterBowl name.
broadcasts_statuscharacterBroadcast section status: available, no_data or unavailable.
broadcasts_reasoncharacterWhy the broadcast section is not available.
broadcasts_assembled_atcharacterWhen the broadcast section was assembled.
broadcasts_source_updated_atcharacterBroadcast snapshot publication time.
broadcasts_datalistBroadcasts: one data frame of mediaType, outlet per game.
odds_statuscharacterOdds section status: available, no_data or unavailable.
odds_reasoncharacterWhy the odds section is not available.
odds_assembled_atcharacterWhen the odds section was assembled.
odds_source_updated_atcharacterOdds snapshot publication time.
odds_data_provider_idintegerOdds provider id.
odds_data_providercharacterOdds provider (DraftKings, Bovada).
odds_data_spreadnumericHome-relative spread; negative favors home.
odds_data_over_undernumericOver/under.
odds_data_home_moneylinenumericHome team moneyline.
odds_data_away_moneylinenumericAway team moneyline.

Examples

# \donttest{
  try(cfbd_game_schedule(year = 2025, season_type = "regular", week = 1))
#> ── Game schedule data from CollegeFootballData.com ────── cfbfastR 3.0.0.9000 ──
#> ℹ Data updated: 2026-09-27 10:58:09 UTC
#> # A tibble: 96 × 42
#>      game_id season  week season_type status    status_checked_at     start_date
#>        <int>  <int> <int> <chr>       <chr>     <chr>                 <chr>     
#>  1 401756846   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  2 401760371   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  3 401756847   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  4 401757218   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  5 401754516   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  6 401762522   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  7 401752794   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  8 401762790   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#>  9 401754373   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#> 10 401756848   2025     1 regular     completed 2026-09-27T10:58:08.… 2025-08-2…
#> # ℹ 86 more rows
#> # ℹ 35 more variables: start_time_tbd <lgl>, neutral_site <lgl>,
#> #   conference_game <lgl>, playoff <lgl>, home_team_id <int>,
#> #   home_team_name <chr>, home_team_conference <chr>,
#> #   home_team_conference_abbreviation <chr>, home_team_classification <chr>,
#> #   home_team_points <int>, away_team_id <int>, away_team_name <chr>,
#> #   away_team_conference <chr>, away_team_conference_abbreviation <chr>, …
# }