Get NBA Stats API Win Probability PBP
Get NBA Stats API Win Probability PBP
Arguments
- game_id
Game ID
- run_type
Run Type
- ...
Additional arguments passed to an underlying function like httr.
Value
Return a named list of data frames: WinProbPBP, GameInfo
WinProbPBP
col_name | types |
GAME_ID | character |
EVENT_NUM | character |
HOME_PCT | character |
VISITOR_PCT | character |
HOME_PTS | character |
VISITOR_PTS | character |
HOME_SCORE_MARGIN | character |
PERIOD | character |
SECONDS_REMAINING | character |
HOME_POSS_IND | character |
HOME_G | character |
DESCRIPTION | character |
LOCATION | character |
PCTIMESTRING | character |
ISVISIBLE | character |
GameInfo
col_name | types |
GAME_ID | character |
GAME_DATE | character |
HOME_TEAM_ID | character |
HOME_TEAM_ABR | character |
HOME_TEAM_PTS | character |
VISITOR_TEAM_ID | character |
VISITOR_TEAM_ABR | character |
VISITOR_TEAM_PTS | character |
Details
nba_winprobabilitypbp(game_id = '0021700807', run_type = 'each second')
See also
Other NBA PBP Functions:
nba_data_pbp()
,
nba_live_pbp()
,
nba_pbps()
,
nba_pbp()