Description Usage Arguments Value Source Examples
View source: R/cfb_betting_lines.R
Get Betting information from games
1 2 3 4 5 6 7 8 9 10 11  | 
game_id | 
 (Integer optional): Game ID filter for querying a single game
Can be found using the   | 
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 or postseason  | 
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  | 
line_provider | 
 (String optional): Select Line Provider - Caesars, consensus, numberfire, or teamrankings  | 
Betting information for games with the following columns:
game_idinteger. Unique game identifier - 'game_id'.
seasoninteger. Season parameter.
season_typecharacter. Season Type (regular, postseason, both).
weekinteger. Week, values from 1-15, 1-14 for seasons pre-playoff (i.e. 2013 or earlier).
home_teamcharacter. Home D-I Team.
home_conferencecharacter. Home D-I Conference.
home_scoreinteger. Home Score.
away_teamcharacter. Away D-I Team.
away_conferencecharacter. Away D-I Conference.
away_scoreinteger. Away Score.
providercharacter. Line provider.
spreadcharacter. Spread for the game.
formatted_spreadcharacter. Formatted spread for the game.
over_undercharacter. Over/Under for the game.
https://api.collegefootballdata.com/lines
1 2 3 4  | cfb_betting_lines(year = 2018, week = 12, team = 'Florida State')
#7 OTs LSU at TAMU
cfb_betting_lines(year = 2018, week = 13, team = "Texas A&M", conference = 'SEC')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.