load_cfb_returning_production: *Load college football returning production from the...

View source: R/load_cfb_datasets.R

load_cfb_returning_productionR Documentation

Load college football returning production from the SportsDataverse data repo

Description

Loads returning production shares – one row per team-season with the share of prior-season production returning, overall and by unit. Published to the cfb_returning_production release tag on the sportsdataverse-data repo.

Usage

load_cfb_returning_production(
  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 2005 through the most recent season. Pass seasons = TRUE for every published season. (Min: 2005)

...

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
season integer
team_id integer
off_returning double
def_returning double
overall_returning double
n_returning integer

Author(s)

Saiem Gilani

Examples


  try(load_cfb_returning_production(2005))


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