Load and Install Packages
## ℹ Loading metadata database
## ✔ Loading metadata database ... done
##
##
## → Package library at /home/runner/work/_temp/Library.
## ✔ All system requirements are already installed.
##
## ℹ No downloads are needed
## ℹ Installing system requirements
## ℹ Executing `sudo sh -c apt-get -y update`
## Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
## Hit:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
## Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
## Hit:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
## Hit:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
## Hit:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
## Reading package lists...
## ℹ Executing `sudo sh -c apt-get -y install libicu-dev libcurl4-openssl-dev libssl-dev cmake make libuv1-dev pandoc libnode-dev libxml2-dev`
## Reading package lists...
## Building dependency tree...
## Reading state information...
## libicu-dev is already the newest version (70.1-2).
## make is already the newest version (4.3-4.1build1).
## pandoc is already the newest version (2.9.2.1-3ubuntu2).
## cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
## libcurl4-openssl-dev is already the newest version (7.81.0-1ubuntu1.30).
## libssl-dev is already the newest version (3.0.2-0ubuntu1.30).
## libuv1-dev is already the newest version (1.43.0-1ubuntu0.1).
## libxml2-dev is already the newest version (2.9.13+dfsg-1ubuntu0.14).
## libnode-dev is already the newest version (12.22.9~dfsg-1ubuntu3.6).
## 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
## ✔ 3 pkgs + 56 deps: kept 59 [9.4s]
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
library(tidyr)
library(gt)
# cfbfastR is deliberately NOT in the pak() list above. pkgdown and
# R CMD check render this vignette against the package being built, and
# installing from CRAN here would overwrite that dev build with the last
# release -- so any function added since it would vanish mid-render.
library(cfbfastR)
# pak::pak("sportsdataverse/cfbfastR")
## ── Betting lines data from CollegeFootballData.com ─────────── cfbfastR 3.1.0 ──
## ℹ Data updated: 2026-11-06 08:28:36 UTC
## # A tibble: 4 × 23
## game_id season season_type week start_date home_team_id home_team
## <int> <int> <chr> <int> <chr> <int> <chr>
## 1 401013175 2018 regular 12 2018-11-17T20:30:00… 52 Florida …
## 2 401013175 2018 regular 12 2018-11-17T20:30:00… 52 Florida …
## 3 401013175 2018 regular 12 2018-11-17T20:30:00… 52 Florida …
## 4 401013175 2018 regular 12 2018-11-17T20:30:00… 52 Florida …
## # ℹ 16 more variables: home_conference <chr>, home_classification <chr>,
## # home_score <int>, away_team_id <int>, away_team <chr>,
## # away_conference <chr>, away_classification <chr>, away_score <int>,
## # provider <chr>, spread <dbl>, formatted_spread <chr>, spread_open <lgl>,
## # over_under <dbl>, over_under_open <lgl>, home_moneyline <lgl>,
## # away_moneyline <lgl>
# 7 OTs LSU at TAMU
cfbd_betting_lines(year = 2018, week = 13, team = "Texas A&M", conference = "SEC")
## ── Betting lines data from CollegeFootballData.com ─────────── cfbfastR 3.1.0 ──
## ℹ Data updated: 2026-11-06 08:28:36 UTC
## # A tibble: 4 × 23
## game_id season season_type week start_date home_team_id home_team
## <int> <int> <chr> <int> <chr> <int> <chr>
## 1 401012356 2018 regular 13 2018-11-25T00:30:00… 245 Texas A&M
## 2 401012356 2018 regular 13 2018-11-25T00:30:00… 245 Texas A&M
## 3 401012356 2018 regular 13 2018-11-25T00:30:00… 245 Texas A&M
## 4 401012356 2018 regular 13 2018-11-25T00:30:00… 245 Texas A&M
## # ℹ 16 more variables: home_conference <chr>, home_classification <chr>,
## # home_score <int>, away_team_id <int>, away_team <chr>,
## # away_conference <chr>, away_classification <chr>, away_score <int>,
## # provider <chr>, spread <int>, formatted_spread <chr>, spread_open <lgl>,
## # over_under <dbl>, over_under_open <lgl>, home_moneyline <lgl>,
## # away_moneyline <lgl>
Our Authors
Citation
To cite the cfbfastR
R package in publications, use:
BibTeX Citation
@misc{cfbfastr,
author = {Saiem Gilani and Akshay Easwaran and Jared Lee and Eric Hess},
title = {cfbfastR: Access College Football Play by Play Data},
url = {https://cfbfastR.sportsdataverse.org/},
year = {2021}
}