load_cfb_ratings: *Load college football season power ratings from the...

View source: R/load_cfb_datasets.R

load_cfb_ratingsR Documentation

Load college football season power ratings from the SportsDataverse data repo

Description

Loads season-end team power ratings from the cfbfastR modeling suite – one row per team with overall/offense/defense/special-teams ratings on the points scale. Published to the cfb_ratings release tag on the sportsdataverse-data repo.

Usage

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

...

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
adj_off_epa double Opponent-adjusted offensive EPA per play: the team's raw per-game EPA on pass and rush plays net of each opponent's ridge-fitted defensive strength, averaged over its games.
adj_def_epa double Opponent-adjusted EPA per play allowed, netted the same way as the offensive rating, so lower is better because it measures EPA surrendered.
adj_st_epa double Special-teams composite in EPA units: per-play mean EPA on field goals, punts, and kick returns, each centered on that unit's league mean and summed across the three units.
adj_net double adj_off_epa minus adj_def_epa, the team's overall efficiency rating in EPA per play; special teams is deliberately excluded.
fei_off double Drive-level offensive rating from a ridge fit on per-drive EPA, the Fremeau-style drive-efficiency counterpart to adj_off_epa.
fei_def double Drive-level defensive rating from the same per-drive ridge fit, on the same scale as fei_off.
fei_net double fei_off minus fei_def, the team's overall drive-efficiency rating, with the ridge's dropped reference team pinned at zero.
games integer
off_pace double Tempo measure: scrimmage plays (pass plus rush) per game, centering near 65 and used as the pace input to the totals model.
off_rank integer Dense rank of adj_off_epa in descending order, so rank 1 is the season's most efficient offense.
def_rank integer Dense rank of adj_def_epa in ascending order, so rank 1 is the season's stingiest defense.
net_rank integer Dense rank of adj_net in descending order, so rank 1 is the season's strongest overall team.
net_z double adj_net restated as a z-score against the mean and standard deviation of adj_net across the rated teams that season.

Author(s)

Saiem Gilani

Examples


  try(load_cfb_ratings(2004))


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