espn_mbb_wp {hoopR}R Documentation

Men's College Basketball win probability chart data from ESPN

Description

Men's College Basketball win probability chart data from ESPN

Usage

espn_mbb_wp(game_id)

Arguments

game_id

(Integer required): Game ID filter for querying a single game

Value

espn_mbb_wp() - A data frame with 9 variables:

game_id: character.

Referencing game ID (should be same as game_id from 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_betting(), espn_mbb_conferences(), espn_mbb_game_all(), espn_mbb_game_rosters(), espn_mbb_pbp(), espn_mbb_player_box(), espn_mbb_player_stats(), espn_mbb_rankings(), espn_mbb_scoreboard(), espn_mbb_standings(), espn_mbb_team_box(), espn_mbb_team_stats(), espn_mbb_teams()

Examples


  espn_mbb_wp(game_id = 401256760)



[Package hoopR version 2.1.0 Index]