cfb_ratings_srs: Get SRS historical rating data

Description Usage Arguments Value Source Examples

View source: R/cfb_ratings_srs.R

Description

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

Usage

1
cfb_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

A data frame with 5 variables:

year

integer.

team

character.

conference

character.

division

logical.

rating

character.

Source

https://api.collegefootballdata.com/ratings/srs

Examples

1
2
3
cfb_ratings_srs(year = 2019, team = "Texas")

cfb_ratings_srs(year = 2018, conference = 'SEC')

meysubb/cfbscrapR documentation built on Dec. 15, 2020, 11:26 p.m.