load_ncaa_mfb_schedule: *Load NCAA men's football schedules (stats.ncaa.org) from the...

View source: R/load_ncaa_mfb.R

load_ncaa_mfb_scheduleR Documentation

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

Description

Loads season-level NCAA men's football schedules from stats.ncaa.org; one row per game. Published to the ncaa_mfb_schedule release tag on the sportsdataverse-data repo.

Usage

load_ncaa_mfb_schedule(
  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
team_id character
team_name character
date character
opponent_id character
opponent character
result character
outcome character
team_score integer
opponent_score integer
contest_id character
attendance integer
academic_year integer
espn_game_id character
season integer

Author(s)

Saiem Gilani

Examples


  try(load_ncaa_mfb_schedule(2013))


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