knitr::opts_chunk$set(echo = TRUE)

Load and Install Packages

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

Get Team Info

cfbd_team_info(conference = "SEC")

cfbd_team_info(conference = "Ind")

cfbd_team_info(year = 2019)

Get Team Matchup History (Total Record)

cfbd_team_matchup_records("Texas", "Oklahoma")

cfbd_team_matchup_records("Texas A&M", "TCU", min_year = 1975)

Get Team Matchup History

cfbd_team_matchup("Texas", "Oklahoma")

cfbd_team_matchup("Texas A&M", "TCU")

cfbd_team_matchup("Texas A&M", "TCU", min_year = 1975)

cfbd_team_matchup("Florida State", "Florida", min_year = 1975)

Get Team Rosters

cfbd_team_roster(year = 2013, team = "Florida State")

Get Team Talent

cfbd_team_talent()

cfbd_team_talent(year = 2018)


saiemgilani/cfbfastR documentation built on Sept. 14, 2024, 2:39 p.m.