cfb_team_info: Team Info Lookup Lists all teams in conference or all D-I...

Description Usage Arguments Value Source Examples

View source: R/cfb_team_info.R

Description

Team Info Lookup Lists all teams in conference or all D-I teams if conference is left NULL Current support only for D-I

Usage

1
cfb_team_info(conference = NULL, only_fbs = TRUE, year = NULL)

Arguments

conference

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

only_fbs

(Logical default TRUE): Filter for only returning FBS teams for a given year.
If year is left blank while only_fbs is TRUE, then will return values for most current year

year

(Integer optional): Year, 4 digit format (YYYY). Filter for getting a list of major division team for a given year

Value

A data frame with 12 variables:

team_id

integer.

school

character.

mascot

character.

abbreviation

character.

alt_name1

character.

alt_name2

character.

alt_name3

character.

conference

character.

division

character.

color

character.

alt_color

character.

logos

list.

Source

https://api.collegefootballdata.com/teams

Examples

1
2
3
4
5
cfb_team_info(conference = "SEC")

cfb_team_info(conference = "Ind")

cfb_team_info(year = 2019)

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