Skip to contents

Returns stored adjusted team and player metrics until game completion. Requires a CFBD Patreon Tier 1 key; other keys receive an error and an empty list. Team metrics may use the previous season; players remain current-season.

Usage

cfbd_game_preview_adjusted(game_id, proxy = NULL)

Arguments

game_id

(Integer required): Game ID filter for querying a single game. Can be found using the cfbd_game_info() or cfbd_game_schedule() functions.

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

A named list of data frames: game, team_metrics, passing, rushing, kicking. A section CFBD did not fill is a 0-column tibble: once availability is metadata_only (for example a completed game) every section except game is empty. Nested objects are flattened into prefixed columns, and a nested object CFBD sends as null (venue, playoff, a metrics block) becomes one all-NA column named after it instead of its prefixed columns. An empty list is returned if the request fails, including for a key without CFBD Patreon Tier 1.

game - one row, the same columns as the game section of cfbd_game_preview():

col_nametypedescription
game_idintegerUnique CFBD game identifier.
seasonintegerSeason of the game.
weekintegerGame week (postseason games restart at week 1).
season_typecharacterSeason type of the game (e.g. regular, postseason).
statuscharacterGame status: scheduled, in_progress or completed.
status_checked_atcharacterWhen CFBD last checked the game status (ISO 8601, UTC).
start_datecharacterGame start date-time (ISO 8601, UTC).
start_time_tbdlogicalTRUE if the start time is still to be determined.
neutral_sitelogicalTRUE if the game is at a neutral site.
conference_gamelogicalTRUE if the game is a conference game.
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: fbs, fcs, ii, ii/iii or iii.
home_team_pointsintegerHome team points; NA until the game has a score.
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: fbs, fcs, ii, ii/iii or iii.
away_team_pointsintegerAway team points; NA until the game has a score.
venue_idintegerVenue id.
venue_namecharacterVenue name.
venue_citycharacterVenue city.
venue_statecharacterVenue state abbreviation.
playofflogicalAll-NA placeholder, present only when the game is not a College Football Playoff game (the eight playoff_* columns replace it for CFP games).
playoff_competitioncharacterPlayoff competition (cfp); present only for CFP games.
playoff_formatcharacterPlayoff format (e.g. twelve_team_2025); present only for CFP games.
playoff_roundcharacterPlayoff round: first_round, quarterfinal, semifinal or championship; present only for CFP games.
playoff_round_namecharacterDisplay name of the round (e.g. Quarterfinal); present only for CFP games.
playoff_bracket_slotcharacterBracket slot code (e.g. FR4, QF1); present only for CFP games.
playoff_home_seedintegerHome team playoff seed; present only for CFP games.
playoff_away_seedintegerAway team playoff seed; present only for CFP games.
playoff_bowl_namecharacterName of the bowl hosting the game (e.g. Rose Bowl), NA when none; present only for CFP games.
availabilitycharacterpregame (analysis sections filled) or metadata_only (only game is filled).
reasoncharacterWhy analysis is not available: game_started, game_completed, kickoff_reached or kickoff_unknown; NA when availability is pregame.
assembled_atcharacterWhen CFBD assembled the preview (ISO 8601, UTC).

team_metrics - one row per side (home, away):

col_nametypedescription
sidecharacterhome or away: which team of this game the row describes.
team_idintegerTeam id.
seasonintegerSeason of the game.
metrics_statuscharacterStatus of the team metrics section: available, no_data or unavailable.
metrics_reasoncharacterWhy the team metrics section has no data: no_data, no_results_yet, source_error or invalid_data; NA when available.
metrics_assembled_atcharacterWhen CFBD assembled the team metrics section (ISO 8601, UTC).
metrics_source_updated_atcharacterPublication time of the team metrics snapshot (ISO 8601, UTC); NA when CFBD reports none.
metrics_data_seasonintegerSeason the adjusted team metrics come from.
metrics_data_is_previous_seasonlogicalTRUE when the metrics come from the season before the game season.
metrics_data_metrics_yearintegerFour-digit season year of the metrics (e.g. 2026).
metrics_data_metrics_team_idintegerCFBD internal team identifier.
metrics_data_metrics_teamcharacterFull team name (e.g. "Alabama").
metrics_data_metrics_conferencecharacterTeam conference name (e.g. "SEC").
metrics_data_metrics_epa_totaldoubleOpponent-adjusted total offensive EPA per play (predicted points added).
metrics_data_metrics_epa_passingdoubleOpponent-adjusted offensive passing EPA per play.
metrics_data_metrics_epa_rushingdoubleOpponent-adjusted offensive rushing EPA per play.
metrics_data_metrics_epa_allowed_totaldoubleOpponent-adjusted total defensive EPA per play allowed.
metrics_data_metrics_epa_allowed_passingdoubleOpponent-adjusted defensive passing EPA per play allowed.
metrics_data_metrics_epa_allowed_rushingdoubleOpponent-adjusted defensive rushing EPA per play allowed.
metrics_data_metrics_success_rate_totaldoubleOpponent-adjusted offensive success rate across all plays (proportion 0-1).
metrics_data_metrics_success_rate_standard_downsdoubleOpponent-adjusted offensive success rate on standard downs (proportion 0-1).
metrics_data_metrics_success_rate_passing_downsdoubleOpponent-adjusted offensive success rate on passing downs (proportion 0-1).
metrics_data_metrics_success_rate_allowed_totaldoubleOpponent-adjusted defensive success rate allowed across all plays (proportion 0-1).
metrics_data_metrics_success_rate_allowed_standard_downsdoubleOpponent-adjusted defensive success rate allowed on standard downs (proportion 0-1).
metrics_data_metrics_success_rate_allowed_passing_downsdoubleOpponent-adjusted defensive success rate allowed on passing downs (proportion 0-1).
metrics_data_metrics_rushing_line_yardsdoubleOpponent-adjusted offensive line yards per rush (Football Outsiders methodology).
metrics_data_metrics_rushing_second_level_yardsdoubleOpponent-adjusted offensive second-level yards per rush (5-10 yards past line of scrimmage).
metrics_data_metrics_rushing_open_field_yardsdoubleOpponent-adjusted offensive open-field yards per rush (yards gained more than 10 yards past the line of scrimmage).
metrics_data_metrics_rushing_highlight_yardsdoubleOpponent-adjusted offensive highlight yards per opportunity rush.
metrics_data_metrics_rushing_allowed_line_yardsdoubleOpponent-adjusted defensive line yards per rush allowed.
metrics_data_metrics_rushing_allowed_second_level_yardsdoubleOpponent-adjusted defensive second-level yards per rush allowed.
metrics_data_metrics_rushing_allowed_open_field_yardsdoubleOpponent-adjusted defensive open-field yards per rush allowed.
metrics_data_metrics_rushing_allowed_highlight_yardsdoubleOpponent-adjusted defensive highlight yards per opportunity rush allowed.
metrics_data_metrics_explosivenessdoubleOpponent-adjusted offensive explosiveness (higher = more big plays).
metrics_data_metrics_explosiveness_alloweddoubleOpponent-adjusted defensive explosiveness allowed.

passing - one row per passing player listed for each side:

col_nametypedescription
sidecharacterhome or away.
yearintegerFour-digit season year of the player metrics (e.g. 2026).
athlete_idcharacterCFBD athlete identifier (use with cfbd_player_info()).
athlete_namecharacterPlayer full name.
teamcharacterFull team name (e.g. "Alabama").
conferencecharacterTeam conference name (e.g. "SEC").
positioncharacterPlayer position abbreviation (e.g. "QB", "RB").
wepadoubleOpponent-adjusted weighted EPA (WEPA) per passing play.
playsintegerTotal qualifying passing plays included in the WEPA calculation.

rushing - one row per rushing player listed for each side:

col_nametypedescription
sidecharacterhome or away.
yearintegerFour-digit season year of the player metrics (e.g. 2026).
athlete_idcharacterCFBD athlete identifier (use with cfbd_player_info()).
athlete_namecharacterPlayer full name.
teamcharacterFull team name (e.g. "Alabama").
conferencecharacterTeam conference name (e.g. "SEC").
positioncharacterPlayer position abbreviation (e.g. "QB", "RB").
wepadoubleOpponent-adjusted weighted EPA (WEPA) per rushing play.
playsintegerTotal qualifying rushing plays included in the WEPA calculation.

kicking - one row per kicker listed for each side:

col_nametypedescription
sidecharacterhome or away.
yearintegerFour-digit season year of the kicker metrics (e.g. 2026).
athlete_idcharacterCFBD athlete identifier (use with cfbd_player_info()).
athlete_namecharacterKicker full name.
teamcharacterFull team name (e.g. "Alabama").
conferencecharacterTeam conference name (e.g. "SEC").
paardoublePoints Added Above Replacement on field goal attempts (kicker value vs baseline).
attemptsintegerTotal field goal attempts included in the PAAR calculation.

Examples

# \donttest{
  try(cfbd_game_preview_adjusted(game_id = 401114233))
#> $game
#> ── Adjusted game preview data from CollegeFootballData.com ─────────────────────
#> ℹ Data updated: 2026-10-12 12:59:11 UTC
#> # A tibble: 1 × 30
#>     game_id season  week season_type status    status_checked_at      start_date
#>       <int>  <int> <int> <chr>       <chr>     <chr>                  <chr>     
#> 1 401114233   2019     1 regular     completed 2026-10-12T12:59:10.1… 2019-08-3…
#> # ℹ 23 more variables: start_time_tbd <lgl>, neutral_site <lgl>,
#> #   conference_game <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>, away_team_classification <chr>,
#> #   away_team_points <int>, venue_id <int>, venue_name <chr>, …
#> 
#> $team_metrics
#> ── Adjusted game preview data from CollegeFootballData.com ─────────────────────
#> ℹ Data updated: 2026-10-12 12:59:11 UTC
#> # A tibble: 0 × 0
#> 
#> $passing
#> ── Adjusted game preview data from CollegeFootballData.com ─────────────────────
#> ℹ Data updated: 2026-10-12 12:59:11 UTC
#> # A tibble: 0 × 0
#> 
#> $rushing
#> ── Adjusted game preview data from CollegeFootballData.com ─────────────────────
#> ℹ Data updated: 2026-10-12 12:59:11 UTC
#> # A tibble: 0 × 0
#> 
#> $kicking
#> ── Adjusted game preview data from CollegeFootballData.com ─────────────────────
#> ℹ Data updated: 2026-10-12 12:59:11 UTC
#> # A tibble: 0 × 0
#> 
# }