Skip to contents

Loads weekly team power ratings – one row per team-week, the as-of- week snapshots behind the season-end ratings. Published to the cfb_ratings_weekly release tag on the sportsdataverse-data repo.

Usage

load_cfb_ratings_weekly(
  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_nametypesdescription
seasoninteger
team_idinteger
adj_off_epadoubleOpponent-adjusted offensive EPA per play as of the snapshot week: raw per-game EPA on pass and rush plays net of each opponent's ridge-fitted defensive strength.
adj_def_epadoubleOpponent-adjusted EPA per play allowed as of the snapshot week, netted the same way as the offensive rating, so lower is better.
adj_st_epadoubleSpecial-teams composite in EPA units as of the snapshot week, summing the league-centered per-play EPA of the field goal, punt, and kick-return units.
adj_netdoubleadj_off_epa minus adj_def_epa at the snapshot week, the team's overall efficiency rating in EPA per play with special teams excluded.
fei_offdoubleDrive-level offensive rating at the snapshot week, from a ridge fit on per-drive EPA.
fei_defdoubleDrive-level defensive rating at the snapshot week, from the same per-drive ridge fit and on the same scale as fei_off.
fei_netdoublefei_off minus fei_def at the snapshot week, the team's overall drive-efficiency rating.
gamesinteger
off_pacedoubleScrimmage plays per game through the snapshot week, the tempo input consumed by the totals model.
off_rankintegerDense rank of adj_off_epa in descending order within the snapshot week, so rank 1 is the most efficient offense at that point.
def_rankintegerDense rank of adj_def_epa in ascending order within the snapshot week, so rank 1 is the stingiest defense at that point.
net_rankintegerDense rank of adj_net in descending order within the snapshot week, so rank 1 is the strongest overall team at that point.
net_zdoubleadj_net restated as a z-score against the mean and standard deviation of adj_net across the teams rated in that snapshot week.
through_weekintegerRegular-season week the snapshot runs through; the ratings were refit using only games kicking off on or before that week's final kickoff date.

Author

Saiem Gilani

Examples

# \donttest{
  try(load_cfb_ratings_weekly(2004))
#> ── college football weekly power ratings from the SportsDataverse data repo ────
#>  Data updated: 2026-08-27 04:22:16 UTC
#> # A tibble: 1,579 × 16
#>    season team_id adj_off_epa adj_def_epa adj_st_epa  adj_net fei_off fei_def
#>     <int> <chr>         <dbl>       <dbl>      <dbl>    <dbl>   <dbl>   <dbl>
#>  1   2004 2655       -0.0614       0.0703      0.284 -0.132    -0.864  -0.357
#>  2   2004 2           0.00849      0.0116      1.72  -0.00315  -0.451  -1.07 
#>  3   2004 278        -0.0189      -0.125      -3.20   0.106    -0.865  -1.37 
#>  4   2004 2132       -0.157        0.0726      0.723 -0.230    -1.11   -0.818
#>  5   2004 2426        0.200       -0.0686     -0.531  0.269    -0.487  -0.743
#>  6   2004 2638       -0.206       -0.0209      1.91  -0.185    -1.18   -0.754
#>  7   2004 265         0.0200      -0.0458      0.314  0.0658   -0.514  -1.17 
#>  8   2004 2509        0.231       -0.117      -0.144  0.348     0.824  -1.10 
#>  9   2004 204        -0.00927     -0.0408      2.30   0.0315   -1.15   -1.31 
#> 10   2004 103        -0.0279      -0.0247      2.99  -0.00314  -0.623  -0.623
#> # ℹ 1,569 more rows
#> # ℹ 8 more variables: fei_net <dbl>, games <int>, off_pace <dbl>,
#> #   off_rank <int>, def_rank <int>, net_rank <int>, net_z <dbl>,
#> #   through_week <int>
# }