View source: R/gridiron_game.R
gridiron_game | R Documentation |
After using oddsmakr:odds to scrape data and you've compiled it into a dataframe, you can plot a time-series of spreads vs. share for each team by game using this function
gridiron_game(dataset, week_no, game_no)
week_no |
week of nfl season to plot |
game_no |
game of nfl week to plot |
dat |
dataframe or tibble containing public consensus share of bets and game line for a single game for a given week pulled more than once by odds_consensus function from oddsmaker package |
a times-series chart showing public consensus and lines movement for one single nfl game during a given week
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.