Learn R Programming

cbbreadr (version 1.0.2)

load_lines: Load betting information for cbb games

Description

Pull in vegas odds (overs, unders, spreads, moneylines, etc.) for college basketball games.

Usage

load_lines(seasons = most_recent_season())

Value

a dataframe of betting information for all games for the specified season(s).

Arguments

seasons

an integer or vector of integers of seasons to fetch data for. Defaults to the most recent season. Pass in TRUE to fetch all seasons.

See Also

https://john-b-edwards.github.io/cbbreadr/articles/dictionary_lines.html for a web version of the data dictionary

dictionary_lines for the data dictionary as bundled within the package

Issues with this data should be filed here: https://github.com/john-b-edwards/cbbd-data/issues

Examples

Run this code
# \donttest{
try({ # avoid cran errors
load_lines()
})
# }

Run the code above in your browser using DataLab