Get ESPN MBB's Betting information

espn_mbb_betting(game_id)

Arguments

game_id

Game ID

Value

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

Examples

# \donttest{
try(espn_mbb_betting(game_id = 401256760))
#> $pickcenter
#>    details over_under spread provider_id                   provider_name
#> 1 FSU -1.5      134.5   -1.5          45 Caesars Sportsbook (New Jersey)
#> 2 FSU -1.5      135.5   -1.5        1004                       consensus
#> 3 FSU -1.5      133.5   -1.5        1003                      numberfire
#> 4 FSU -1.0      134.5   -1.0        1002                    teamrankings
#>   provider_priority away_team_odds_favorite away_team_odds_underdog
#> 1                 1                   FALSE                    TRUE
#> 2                 0                   FALSE                    TRUE
#> 3                 0                   FALSE                    TRUE
#> 4                 0                   FALSE                    TRUE
#>   away_team_odds_money_line away_team_odds_spread_odds away_team_odds_team_id
#> 1                       100                    -110.00                     57
#> 2                       101                    -113.00                     57
#> 3                       102                      41.08                     57
#> 4                      -103                    -110.00                     57
#>   away_team_odds_win_percentage away_team_odds_average_score
#> 1                            NA                           NA
#> 2                         58.00                           NA
#> 3                         32.97                        67.54
#> 4                            NA                        67.80
#>   away_team_odds_money_line_odds away_team_odds_spread_return
#> 1                             NA                           NA
#> 2                             NA                           NA
#> 3                          32.97                       -0.216
#> 4                             NA                           NA
#>   away_team_odds_spread_record_wins away_team_odds_spread_record_losses
#> 1                                NA                                  NA
#> 2                                NA                                  NA
#> 3                                NA                                  NA
#> 4                                12                                  13
#>   away_team_odds_spread_record_pushes away_team_odds_spread_record_summary
#> 1                                  NA                                 <NA>
#> 2                                  NA                                 <NA>
#> 3                                  NA                                 <NA>
#> 4                                   0                              12-13-0
#>   home_team_odds_favorite home_team_odds_underdog home_team_odds_money_line
#> 1                    TRUE                   FALSE                      -120
#> 2                    TRUE                   FALSE                      -123
#> 3                    TRUE                   FALSE                      -120
#> 4                    TRUE                   FALSE                      -117
#>   home_team_odds_spread_odds home_team_odds_team_id
#> 1                    -110.00                     52
#> 2                    -109.00                     52
#> 3                      58.92                     52
#> 4                    -110.00                     52
#>   home_team_odds_win_percentage home_team_odds_average_score
#> 1                            NA                           NA
#> 2                         42.00                           NA
#> 3                         67.03                        71.98
#> 4                            NA                        70.60
#>   home_team_odds_money_line_odds home_team_odds_spread_return
#> 1                             NA                           NA
#> 2                             NA                           NA
#> 3                          67.03                        0.125
#> 4                             NA                           NA
#>   home_team_odds_spread_record_wins home_team_odds_spread_record_losses
#> 1                                NA                                  NA
#> 2                                NA                                  NA
#> 3                                NA                                  NA
#> 4                                 8                                  16
#>   home_team_odds_spread_record_pushes home_team_odds_spread_record_summary
#> 1                                  NA                                 <NA>
#> 2                                  NA                                 <NA>
#> 3                                  NA                                 <NA>
#> 4                                   0                               8-16-0
#> 
#> $againstTheSpread
#>   id            uid            display_name abbreviation
#> 1 57 s:40~l:41~t:57          Florida Gators          FLA
#> 2 52 s:40~l:41~t:52 Florida State Seminoles          FSU
#>                                                logo records
#> 1 https://a.espncdn.com/i/teamlogos/ncaa/500/57.png    NULL
#> 2 https://a.espncdn.com/i/teamlogos/ncaa/500/52.png    NULL
#> 
#> $predictor_df
#>   home_team_id away_team_id away_team_game_projection away_team_chance_loss
#> 1           52           57                      58.5                  41.5
#> 
# }