Get betting lines information for games
cfbd_betting_lines(
game_id = NULL,
year = NULL,
week = NULL,
season_type = "regular",
team = NULL,
home_team = NULL,
away_team = NULL,
conference = NULL,
line_provider = NULL
)
(Integer optional): Game ID filter for querying a single game
Can be found using the cfbd_game_info()
function
(Integer required): Year, 4 digit format(YYYY)
(Integer optional): Week - values from 1-15, 1-14 for seasons pre-playoff (i.e. 2013 or earlier)
(String default regular): Select Season Type: regular or postseason
(String optional): D-I Team
(String optional): Home D-I Team
(String optional): Away D-I Team
(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
(String optional): Select Line Provider - Caesars, consensus, numberfire, or teamrankings
Betting information for games with the following columns:
Unique game identifier - game_id.
Season parameter.
Season Type (regular, postseason, both
Week, values from 1-15, 1-14 for seasons pre-playoff (i.e. 2013 or earlier).
Start Date
Home D-I Team.
Home D-I Conference.
Home Score.
Away D-I Team.
Away D-I Conference.
Away Score.
Line provider.
Spread for the game.
Formatted spread for the game.
Opening spread for the game.
Over/Under for the game.
Opening over/under for the game.
Home team moneyline.
Away team moneyline.
# NOT RUN {
try(cfbd_betting_lines(year = 2018, week = 12, team = "Florida State"))
# }
Run the code above in your browser using DataLab