
Men's College Basketball win probability chart data from ESPN
Source:R/espn_mbb_wp.R
espn_mbb_wp.RdMen's College Basketball win probability chart data from ESPN
Value
espn_mbb_wp() - A data frame with 9 variables:
game_id: character.Referencing game ID (should be same as
game_idfrom other functions).play_id: character.Referencing play ID.
period: integer.Clock (time) left in the game.
time_left: character.Clock (time) left in the game.
period_seconds_left: integer.Seconds left in the period.
game_seconds_left: integer.Seconds left in the game.
home_win_percentage: double.The probability of the home team winning the game.
away_win_percentage: double.The probability of the away team winning the game (calculated as 1 -
home_win_percentage-tie_percentage).tie_percentage: double.The probability of the game ending the final period in a tie.
See also
Other ESPN MBB Functions:
espn_mbb_athlete_awards(),
espn_mbb_athlete_career_stats(),
espn_mbb_athlete_eventlog(),
espn_mbb_athlete_eventlog_v2(),
espn_mbb_athlete_gamelog(),
espn_mbb_athlete_info(),
espn_mbb_athlete_overview(),
espn_mbb_athlete_seasons(),
espn_mbb_athlete_splits(),
espn_mbb_athlete_statisticslog(),
espn_mbb_athlete_stats(),
espn_mbb_athletes_index(),
espn_mbb_award(),
espn_mbb_betting(),
espn_mbb_calendar(),
espn_mbb_coach(),
espn_mbb_coach_record(),
espn_mbb_coach_season(),
espn_mbb_coaches(),
espn_mbb_conferences(),
espn_mbb_event_broadcasts(),
espn_mbb_event_competitor_leaders(),
espn_mbb_event_competitor_linescores(),
espn_mbb_event_competitor_records(),
espn_mbb_event_competitor_roster(),
espn_mbb_event_competitor_roster_entry(),
espn_mbb_event_competitor_score(),
espn_mbb_event_competitor_statistics(),
espn_mbb_event_odds(),
espn_mbb_event_official_detail(),
espn_mbb_event_officials(),
espn_mbb_event_play(),
espn_mbb_event_play_personnel(),
espn_mbb_event_player_box(),
espn_mbb_event_powerindex(),
espn_mbb_event_predictor(),
espn_mbb_event_probabilities(),
espn_mbb_event_propbets(),
espn_mbb_event_situation(),
espn_mbb_franchise(),
espn_mbb_franchises(),
espn_mbb_futures(),
espn_mbb_game_all(),
espn_mbb_game_rosters(),
espn_mbb_injuries(),
espn_mbb_leaders(),
espn_mbb_news(),
espn_mbb_pbp(),
espn_mbb_player_box(),
espn_mbb_player_stats(),
espn_mbb_position(),
espn_mbb_positions(),
espn_mbb_powerindex(),
espn_mbb_rankings(),
espn_mbb_scoreboard(),
espn_mbb_season_awards(),
espn_mbb_season_group(),
espn_mbb_season_group_children(),
espn_mbb_season_group_teams(),
espn_mbb_season_groups(),
espn_mbb_season_info(),
espn_mbb_season_leaders(),
espn_mbb_season_ranking(),
espn_mbb_season_rankings(),
espn_mbb_season_type(),
espn_mbb_season_types(),
espn_mbb_season_week(),
espn_mbb_season_weeks(),
espn_mbb_seasons(),
espn_mbb_standings(),
espn_mbb_team(),
espn_mbb_team_box(),
espn_mbb_team_current_roster(),
espn_mbb_team_injuries(),
espn_mbb_team_leaders(),
espn_mbb_team_news(),
espn_mbb_team_odds_records(),
espn_mbb_team_record(),
espn_mbb_team_record_detail(),
espn_mbb_team_roster(),
espn_mbb_team_schedule(),
espn_mbb_team_season_profile(),
espn_mbb_team_season_roster(),
espn_mbb_team_season_statistics(),
espn_mbb_team_stats(),
espn_mbb_teams(),
espn_mbb_tournament(),
espn_mbb_tournament_season(),
espn_mbb_tournament_seasons(),
espn_mbb_tournaments(),
espn_mbb_venues(),
espn_mbb_week_ranking(),
espn_mbb_week_rankings()
Examples
# \donttest{
espn_mbb_wp(game_id = 401256760)
#> ── ESPN MBB Win Probability Information from ESPN.com ─────────── hoopR 3.1.0 ──
#> ℹ Data updated: 2026-05-22 07:30:50 UTC
#> # A tibble: 352 × 9
#> game_id play_id period time_left period_seconds_left game_seconds_left
#> * <chr> <chr> <dbl> <chr> <dbl> <dbl>
#> 1 401256760 40125676010… 1 19:40 1180 2380
#> 2 401256760 40125676010… 1 19:36 1176 2376
#> 3 401256760 40125676010… 1 19:36 1176 2376
#> 4 401256760 40125676010… 1 19:11 1151 2351
#> 5 401256760 40125676010… 1 19:09 1149 2349
#> 6 401256760 40125676010… 1 18:54 1134 2334
#> 7 401256760 40125676010… 1 18:54 1134 2334
#> 8 401256760 40125676010… 1 18:29 1109 2309
#> 9 401256760 40125676010… 1 18:17 1097 2297
#> 10 401256760 40125676010… 1 18:17 1097 2297
#> # ℹ 342 more rows
#> # ℹ 3 more variables: home_win_percentage <dbl>, away_win_percentage <dbl>,
#> # tie_percentage <dbl>
# }