gridiron_game: After using oddsmakr:odds to scrape data and you've compiled...

View source: R/gridiron_game.R

gridiron_gameR 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

Description

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

Usage

gridiron_game(dataset, week_no, game_no)

Arguments

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

Value

a times-series chart showing public consensus and lines movement for one single nfl game during a given week


benny-dreyf/oddsmaker documentation built on Jan. 31, 2025, 12:04 a.m.