load_ncaa_mfb_team_stats: *Load NCAA men's football team stats (stats.ncaa.org) from...

View source: R/load_ncaa_mfb.R

load_ncaa_mfb_team_statsR Documentation

Load NCAA men's football team stats (stats.ncaa.org) from the SportsDataverse data repo

Description

Loads season-level NCAA men's football team box statistics parsed from stats.ncaa.org; one row per team-game-category. Published to the ncaa_mfb_team_stats release tag on the sportsdataverse-data repo.

Usage

load_ncaa_mfb_team_stats(
  seasons = most_recent_cfb_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given college football seasons. Published coverage runs 2013 through the most recent season. Pass seasons = TRUE for every published season. (Min: 2013)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

Returns a cfbfastR_data tibble.

col_name types description
contest_id character
category character
stat character
period character
away_team character
away_value character
home_team character
home_value character
espn_game_id character
season integer

Author(s)

Saiem Gilani

Examples


  try(load_ncaa_mfb_team_stats(2013))


cfbfastR documentation built on Aug. 24, 2026, 5:13 p.m.