Skip to contents

Get ESPN MBB's Betting information

Usage

espn_mbb_betting(game_id)

Arguments

game_id

Game ID

Value

Returns a named list of data frames: pickcenter, againstTheSpread, predictor

Examples

# \donttest{
try(espn_mbb_betting(game_id = 401256760))
#> $pickcenter
#> ── ESPN MBB Pickcenter Information from ESPN.com ──────────────── hoopR 1.8.0 ──
#>  Data updated: 2022-06-17 06:26:13 UTC
#> # A tibble: 4 × 32
#>   details  over_under spread provider_id provider_name          provider_priori…
#>   <chr>         <dbl>  <dbl> <chr>       <chr>                             <int>
#> 1 FSU -1.5       134.   -1.5 45          Caesars Sportsbook (N…                1
#> 2 FSU -1.5       136.   -1.5 1004        consensus                             0
#> 3 FSU -1.5       134.   -1.5 1003        numberfire                            0
#> 4 FSU -1.0       134.   -1   1002        teamrankings                          0
#> # … with 26 more variables: away_team_odds_favorite <lgl>,
#> #   away_team_odds_underdog <lgl>, away_team_odds_money_line <int>,
#> #   away_team_odds_spread_odds <dbl>, away_team_odds_team_id <chr>,
#> #   away_team_odds_win_percentage <dbl>, away_team_odds_average_score <dbl>,
#> #   away_team_odds_money_line_odds <dbl>, away_team_odds_spread_return <dbl>,
#> #   away_team_odds_spread_record_wins <int>,
#> #   away_team_odds_spread_record_losses <int>, …
#> 
#> $againstTheSpread
#> ── ESPN MBB Against the Spread Information from ESPN.com ──────── hoopR 1.8.0 ──
#>  Data updated: 2022-06-17 06:26:13 UTC
#> # A tibble: 2 × 6
#>   id    uid            display_name            abbreviation logo         records
#>   <chr> <chr>          <chr>                   <chr>        <chr>        <list> 
#> 1 57    s:40~l:41~t:57 Florida Gators          FLA          https://a.e… <list> 
#> 2 52    s:40~l:41~t:52 Florida State Seminoles FSU          https://a.e… <list> 
#> 
#> $predictor
#> ── ESPN MBB Predictor Information from ESPN.com ───────────────── hoopR 1.8.0 ──
#>  Data updated: 2022-06-17 06:26:13 UTC
#> # A tibble: 1 × 4
#>   home_team_id away_team_id away_team_game_projection away_team_chance_loss
#>   <chr>        <chr>        <chr>                     <chr>                
#> 1 52           57           58.5                      41.5                 
#> 
# }