wnba_data_pbp {wehoop} | R Documentation |
Get WNBA Data API Play-by-Play
Description
Get WNBA Data API Play-by-Play
Get WNBA Data API Play-by-Play
Usage
wnba_data_pbp(game_id = "1022200034", ...)
Arguments
game_id |
Game ID - 10 digits, i.e. "0021900001" |
... |
Additional arguments passed to an underlying function like httr. |
Details
wnba_data_pbp(game_id = "1022200034")
Value
Returns a tibble
col_name | types |
game_id | character |
league | character |
period | integer |
event_num | integer |
clock | character |
description | character |
locX | integer |
locY | integer |
opt1 | integer |
opt2 | integer |
event_action_type | integer |
event_type | integer |
team_id | integer |
offense_team_id | integer |
player1_id | integer |
player2_id | integer |
player3_id | integer |
home_score | integer |
away_score | integer |
order | integer |
Event Message Types (event_type):
1 -> MAKE
2 -> MISS
3 -> FreeThrow
4 -> Rebound
5 -> Turnover
6 -> Foul
7 -> Violation
8 -> Substitution
9 -> Timeout
10 -> JumpBall
11 -> Ejection
12 -> StartOfPeriod
13 -> EndOfPeriod
14 -> Empty
Author(s)
Saiem Gilani
See Also
Other WNBA PBP Functions:
wnba_live_pbp()
,
wnba_pbps()
,
wnba_pbp()
[Package wehoop version 2.1.0 Index]