Description Usage Arguments Value Source Examples
View source: R/cfb_game_info.R
Get results information from games
1 2 3 4 5 6 7 8 9 10 11 |
year |
(Integer required): Year, 4 digit format(YYYY) |
week |
(Integer optional): Week - values from 1-15, 1-14 for seasons pre-playoff (i.e. 2013 or earlier) |
season_type |
(String default regular): Select Season Type: regular, postseason, or both |
team |
(String optional): D-I Team |
home_team |
(String optional): Home D-I Team |
away_team |
(String optional): Away D-I Team |
conference |
(String optional): Conference abbreviation - Select a valid FBS conference |
game_id |
(Integer optional): Game ID filter for querying a single game |
quarter_scores |
(Logical default FALSE): This is a parameter to return the
list columns that give the score at each quarter: home_line_scores and away_line scores. |
A data frame with 22 variables:
game_idinteger.
seasoninteger.
weekinteger.
season_typecharacter.
start_datecharacter.
start_time_tbdlogical.
neutral_sitelogical.
conference_gamelogical.
attendanceinteger.
venue_idinteger.
venuecharacter.
home_idinteger.
home_teamcharacter.
home_conferencecharacter.
home_pointsinteger.
home_post_win_probcharacter.
away_idinteger.
away_teamcharacter.
away_conferencecharacter.
away_pointsinteger.
away_post_win_probcharacter.
excitement_indexcharacter.
https://api.collegefootballdata.com/games
1 2 3 4 5 6 | cfb_game_info(2018, week = 1)
cfb_game_info(2018, week = 7, conference = 'Ind')
#7 OTs LSU @ TAMU
cfb_game_info(2018, week = 13, team = "Texas A&M", quarter_scores=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.