espn_nba_wp {hoopR}R Documentation

Get NBA win probability chart data from ESPN

Description

Get NBA win probability chart data from ESPN

Usage

espn_nba_wp(game_id)

Arguments

game_id

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

Value

espn_nba_wp() - A data frame with 21 variables:

col_name types
game_id numeric
play_id character
home_win_percentage numeric
away_win_percentage numeric
tie_percentage numeric
sequence_number character
text character
away_score integer
home_score integer
scoring_play logical
score_value integer
participants list
shooting_play logical
type_id character
type_text character
period_number integer
period_display_value character
clock_display_value character
team_id character
coordinate_x integer
coordinate_y integer

See Also

Other ESPN NBA Functions: espn_nba_betting(), espn_nba_game_all(), espn_nba_game_rosters(), espn_nba_pbp(), espn_nba_player_box(), espn_nba_player_stats(), espn_nba_scoreboard(), espn_nba_standings(), espn_nba_team_box(), espn_nba_team_stats(), espn_nba_teams()

Examples


  espn_nba_wp(game_id = 401283399)



[Package hoopR version 2.1.0 Index]