Skip to contents

Get team records by year

Usage

cfbd_game_records(year, team = NULL, conference = NULL)

Arguments

year

(Integer optional): Year, 4 digit format (YYYY)

team

(String optional): Team - Select a valid team, D1 football

conference

(String optional): DI Conference abbreviation - Select a valid FBS conference Conference abbreviations P5: ACC, B12, B1G, SEC, PAC Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

Value

cfbd_game_records() - A data frame with 35 variables:

col_nametypesdescription
yearintegerSeason of the games.
team_idintegerReferencing team id.
teamcharacterTeam name.
classificationcharacterConference classification (fbs, fcs, ii, iii).
conferencecharacterConference of the team.
divisioncharacterDivision in the conference of the team.
expected_winsnumericExpected number of wins based on post-game win probability.
total_gamesintegerTotal number of games played.
total_winsintegerTotal wins.
total_lossesintegerTotal losses.
total_tiesintegerTotal ties.
conference_gamesintegerNumber of conference games.
conference_winsintegerTotal conference wins.
conference_lossesintegerTotal conference losses.
conference_tiesintegerTotal conference ties.
home_gamesintegerTotal home games.
home_winsintegerTotal home wins.
home_lossesintegerTotal home losses.
home_tiesintegerTotal home ties.
away_gamesintegerTotal away games.
away_winsintegerTotal away wins.
away_lossesintegerTotal away losses.
away_tiesintegerTotal away ties.
neutral_gamesintegerTotal neutral site games.
neutral_winsintegerTotal neutral site wins.
neutral_lossesintegerTotal neutral site losses.
neutral_tiesintegerTotal neutral site ties.
regular_season_gamesintegerTotal regular season games.
regular_season_winsintegerTotal regular season wins.
regular_season_lossesintegerTotal regular season losses.
regular_season_tiesintegerTotal regular season ties.
postseason_gamesintegerTotal postseason games.
postseason_winsintegerTotal postseason wins.
postseason_lossesintegerTotal postseason losses.
postseason_tiesintegerTotal postseason ties.

Examples

# \donttest{
  try(cfbd_game_records(2018, team = "Notre Dame"))
#> ── Game records data from CollegeFootballData.com ──────────── cfbfastR 2.3.0 ──
#>  Data updated: 2026-06-09 19:57:47 UTC
#> # A tibble: 1 × 35
#>    year team_id team       classification conference      division expected_wins
#>   <int>   <int> <chr>      <chr>          <chr>           <chr>            <dbl>
#> 1  2018      87 Notre Dame fbs            FBS Independen… ""                10.5
#> # ℹ 28 more variables: total_games <int>, total_wins <int>, total_losses <int>,
#> #   total_ties <int>, conference_games <int>, conference_wins <int>,
#> #   conference_losses <int>, conference_ties <int>, home_games <int>,
#> #   home_wins <int>, home_losses <int>, home_ties <int>, away_games <int>,
#> #   away_wins <int>, away_losses <int>, away_ties <int>, neutral_games <int>,
#> #   neutral_wins <int>, neutral_losses <int>, neutral_ties <int>,
#> #   regular_season_games <int>, regular_season_wins <int>, …

  try(cfbd_game_records(2013, team = "Florida State"))
#> ── Game records data from CollegeFootballData.com ──────────── cfbfastR 2.3.0 ──
#>  Data updated: 2026-06-09 19:57:47 UTC
#> # A tibble: 1 × 35
#>    year team_id team          classification conference division expected_wins
#>   <int>   <int> <chr>         <chr>          <chr>      <chr>            <dbl>
#> 1  2013      52 Florida State fbs            ACC        Atlantic          12.3
#> # ℹ 28 more variables: total_games <int>, total_wins <int>, total_losses <int>,
#> #   total_ties <int>, conference_games <int>, conference_wins <int>,
#> #   conference_losses <int>, conference_ties <int>, home_games <int>,
#> #   home_wins <int>, home_losses <int>, home_ties <int>, away_games <int>,
#> #   away_wins <int>, away_losses <int>, away_ties <int>, neutral_games <int>,
#> #   neutral_wins <int>, neutral_losses <int>, neutral_ties <int>,
#> #   regular_season_games <int>, regular_season_wins <int>, …
# }