Skip to contents

Load and Install Packages

if (!requireNamespace('pacman', quietly = TRUE)){
  install.packages('pacman')
}
pacman::p_load(dplyr,tidyr, gt, cfbfastR)
# pacman::p_load_current_gh("sportsdataverse/cfbfastR")

Get game information

df_2018_wk_1 <- cfbfastR::cfbd_game_info(year=2018, week = 1)

df_2018_wk_7_ind <- cfbfastR::cfbd_game_info(year=2018, week = 7, conference = "Ind")

line_scores <- cfbfastR::cfbd_game_info(year=2018, week = 13, team = "Texas A&M", quarter_scores = TRUE)

Get calendar weeks and dates

cfbfastR::cfbd_calendar(2019)

Find game broadcast and media information

cfbfastR::cfbd_game_media(2019, week = 4, conference = "ACC")

Get CFBD Advanced Game Box Scores (by game_id)

cfbfastR::cfbd_game_box_advanced(game_id = 401114233)

Get CFBD Game Team Box Scores

cfbfastR::cfbd_game_team_stats(2019, team = "LSU")
## ── Team stats data from CollegeFootballData.com ────────────── cfbfastR 2.2.1 ──
##  Data updated: 2026-01-19 16:24:18 UTC
## # A tibble: 26 × 78
##      game_id school     conference home_away opponent opponent_conference points
##        <int> <chr>      <chr>      <chr>     <chr>    <chr>                <int>
##  1 401110778 Texas      Big 12     home      LSU      SEC                     38
##  2 401110778 LSU        SEC        away      Texas    Big 12                  45
##  3 401110859 LSU        SEC        home      Arkansas SEC                     56
##  4 401110859 Arkansas   SEC        away      LSU      SEC                     20
##  5 401110819 LSU        SEC        home      Florida  SEC                     42
##  6 401110819 Florida    SEC        away      LSU      SEC                     28
##  7 401110813 LSU        SEC        home      Utah St… Mountain West           42
##  8 401110813 Utah State Mountain … away      LSU      SEC                      6
##  9 401110790 LSU        SEC        home      Northwe… Southland               65
## 10 401110790 Northwest… Southland  away      LSU      SEC                     14
## # ℹ 16 more rows
## # ℹ 71 more variables: total_yards <chr>, net_passing_yards <chr>,
## #   completion_attempts <chr>, passing_tds <chr>, yards_per_pass <chr>,
## #   passes_intercepted <chr>, interception_yards <chr>, interception_tds <chr>,
## #   rushing_attempts <chr>, rushing_yards <chr>, rush_tds <chr>,
## #   yards_per_rush_attempt <chr>, first_downs <chr>, third_down_eff <chr>,
## #   fourth_down_eff <chr>, punt_returns <chr>, punt_return_yards <chr>, …
cfbfastR::cfbd_game_team_stats(2013, team = "Florida State")
## ── Team stats data from CollegeFootballData.com ────────────── cfbfastR 2.2.1 ──
##  Data updated: 2026-01-19 16:24:19 UTC
## # A tibble: 26 × 78
##      game_id school     conference home_away opponent opponent_conference points
##        <int> <chr>      <chr>      <chr>     <chr>    <chr>                <int>
##  1 332640052 Florida S… ACC        home      Bethune… MEAC                    54
##  2 332640052 Bethune-C… MEAC       away      Florida… ACC                      6
##  3 332570052 Florida S… ACC        home      Nevada   Mountain West           62
##  4 332570052 Nevada     Mountain … away      Florida… ACC                      7
##  5 332990052 Florida S… ACC        home      NC State ACC                     49
##  6 332990052 NC State   ACC        away      Florida… ACC                     17
##  7 333060052 Florida S… ACC        home      Miami    ACC                     41
##  8 333060052 Miami      ACC        away      Florida… ACC                     14
##  9 333410052 Florida S… ACC        home      Duke     ACC                     45
## 10 333410052 Duke       ACC        away      Florida… ACC                      7
## # ℹ 16 more rows
## # ℹ 71 more variables: total_yards <chr>, net_passing_yards <chr>,
## #   completion_attempts <chr>, passing_tds <chr>, yards_per_pass <chr>,
## #   passes_intercepted <chr>, interception_yards <chr>, interception_tds <chr>,
## #   rushing_attempts <chr>, rushing_yards <chr>, rush_tds <chr>,
## #   yards_per_rush_attempt <chr>, first_downs <chr>, third_down_eff <chr>,
## #   fourth_down_eff <chr>, punt_returns <chr>, punt_return_yards <chr>, …

Get CFBD Game Player Box Scores

cfbfastR::cfbd_game_player_stats(2018, week = 15, conference = "Ind")

cfbfastR::cfbd_game_player_stats(2013, week = 1, team = "Florida State", category = "passing")

Get CFBD Team Game Records

cfbfastR::cfbd_game_records(2018, team = "Notre Dame")

cfbfastR::cfbd_game_records(2013, team = "Florida State")