Skip to contents

At least one of year or team must be specified for the function to run

Usage

cfbd_ratings_srs(year = NULL, team = NULL, conference = NULL)

Arguments

year

(Integer optional): Year, 4 digit format (YYYY)

team

(String optional): D-I Team

conference

(String optional): Conference abbreviation - SRS information by conference Conference abbreviations P5: ACC, B12, B1G, SEC, PAC Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

Value

cfbd_ratings_srs() - A data frame with 6 variables:

year: integer.

Season of the SRS rating.

team: character.

Team name.

conference: character.

Conference of the team.

division: logical.

Division in the conference for the team.

rating: double.

Simple Rating System (SRS) rating.

ranking: integer.

Simple Rating System ranking within the group returned.

Examples

# \donttest{
  try(cfbd_ratings_srs(year = 2019, team = "Texas"))
#> ── SRS data from CollegeFootballData.com ───────────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-02-01 16:01:03 UTC
#> # A tibble: 1 × 6
#>    year team  conference division rating ranking
#>   <int> <chr> <chr>      <lgl>     <dbl>   <int>
#> 1  2019 Texas Big 12     NA         16.0       1

  try(cfbd_ratings_srs(year = 2018, conference = "SEC"))
#> ── SRS data from CollegeFootballData.com ───────────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-02-01 16:01:05 UTC
#> # A tibble: 14 × 6
#>     year team              conference division rating ranking
#>    <int> <chr>             <chr>      <chr>     <dbl>   <int>
#>  1  2018 Alabama           SEC        West     33.5         1
#>  2  2018 Georgia           SEC        East     26.3         2
#>  3  2018 Mississippi State SEC        West     19.8         3
#>  4  2018 Florida           SEC        East     19.3         4
#>  5  2018 Missouri          SEC        East     18.9         5
#>  6  2018 LSU               SEC        West     18.3         6
#>  7  2018 Texas A&M         SEC        West     17.9         7
#>  8  2018 Auburn            SEC        West     15.0         8
#>  9  2018 Kentucky          SEC        East     14.7         9
#> 10  2018 Vanderbilt        SEC        East      9.93       10
#> 11  2018 South Carolina    SEC        East      9.65       11
#> 12  2018 Ole Miss          SEC        West      3.46       12
#> 13  2018 Tennessee         SEC        East      0.934      13
#> 14  2018 Arkansas          SEC        West     -7.16       14
# }