cfb_game_records: Get Team records by year

Description Usage Arguments Value Source Examples

View source: R/cfb_game_records.R

Description

Get Team records by year

Usage

1
cfb_game_records(year, team = NULL, conference = NULL)

Arguments

year

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

team

(String optional): Team - Select a valid team, D1 football

conference

(String optional): DI 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

Value

A data frame with 20 variables:

year

integer.

team

character.

conference

character.

division

character.

total_games

integer.

total_wins

integer.

total_losses

integer.

total_ties

integer.

conference_games

integer.

conference_wins

integer.

conference_losses

integer.

conference_ties

integer.

home_games

integer.

home_wins

integer.

home_losses

integer.

home_ties

integer.

away_games

integer.

away_wins

integer.

away_losses

integer.

away_ties

integer.

Source

https://api.collegefootballdata.com/records

Examples

1
2
3
cfb_game_records(2018, team = 'Notre Dame')

cfb_game_records(2013, team = "Florida State")

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