Skip to contents

Get FPI historical rating data (most recent of each year)

Usage

espn_ratings_fpi(year = 2019)

Arguments

year

Year

Value

A data frame with 20 variables:

year: double.

Season of the Football Power Index (FPI) Rating.

team_id: character.

Unique ESPN team ID - team_id.

name: character.

Team Name.

abbr: character.

Team abbreviation.

fpi: character.

Football Power Index (FPI) Rating.

fpi_rk: character.

Football Power Index (FPI) Rank.

trend: character.

Football Power Index (FPI) ranking trend.

proj_w: character.

Projected Win total for the season.

proj_l: character.

Projected Loss total for the season.

win_out: double.

Probability the team wins out.

win_6: double.

Probability the team wins at least six games.

win_div: double.

Probability the team wins at their division.

playoff: double.

Probability the team reaches the playoff.

nc_game: double.

Probability the team reaches the national championship game.

nc_win: double.

Probability the team wins the national championship game.

win_conf: double.

Probability the team wins their conference game.

w: character.

Wins on the season.

l: character.

Losses on the season.

t: character.

Ties on the season.

Details

Adapted from sabinanalytic's fork of the cfbfastR repo

Examples

# \donttest{
  try(espn_ratings_fpi(year=2019))
#> ── FPI rating data from ESPN ───────────────────────────────── cfbfastR 1.9.0 ──
#>  Data updated: 2022-06-15 19:52:02 UTC
#> # A tibble: 130 × 19
#>     year team_id name       abbr  fpi   fpi_rk trend proj_w proj_l win_out win_6
#>    <dbl> <chr>   <chr>      <chr> <chr> <chr>  <chr> <chr>  <chr>    <dbl> <dbl>
#>  1  2019 194     Ohio State OSU   33.7  1      0.0   13.0   1.0          0     1
#>  2  2019 228     Clemson    CLEM  31.5  2      0.0   14.0   1.0          0     1
#>  3  2019 99      LSU        LSU   30.3  3      0.0   15.0   0.0          0     1
#>  4  2019 333     Alabama    ALA   29.4  4      0.0   11.0   2.0          0     1
#>  5  2019 61      Georgia    UGA   24.0  5      0.0   12.0   2.0          0     1
#>  6  2019 2483    Oregon     ORE   21.7  6      0.0   12.0   2.0          0     1
#>  7  2019 213     Penn State PSU   21.5  7      0.0   11.0   2.0          0     1
#>  8  2019 275     Wisconsin  WIS   21.3  8      0.0   10.0   4.0          0     1
#>  9  2019 57      Florida    FLA   21.3  9      0.0   11.0   2.0          0     1
#> 10  2019 2       Auburn     AUB   21.3  10     0.0   9.0    4.0          0     1
#> # … with 120 more rows, and 8 more variables: win_div <dbl>, playoff <dbl>,
#> #   nc_game <dbl>, nc_win <dbl>, win_conf <dbl>, w <chr>, l <chr>, t <chr>
# }