Skip to contents

Get WNBA Stats API Live play-by-play

Get WNBA Stats API Live play-by-play

Usage

wnba_live_pbp(game_id, ...)

Arguments

game_id

Game ID

...

Additional arguments passed to an underlying function like httr.

Value

Returns a data frame: PlayByPlay

col_nametypes
event_numinteger
clockcharacter
time_actualcharacter
periodinteger
period_typecharacter
action_typecharacter
sub_typecharacter
qualifierslist
player1_idinteger
xnumeric
ynumeric
offense_team_idinteger
home_scorecharacter
away_scorecharacter
editedcharacter
orderinteger
x_legacyinteger
y_legacyinteger
is_field_goalinteger
sidecharacter
descriptioncharacter
person_ids_filterlist
team_idinteger
team_tricodecharacter
descriptorcharacter
jump_ball_recovered_namecharacter
jump_ball_recoverd_person_idinteger
player_namecharacter
player_name_icharacter
jump_ball_won_player_namecharacter
jump_ball_won_person_idinteger
jump_ball_lost_player_namecharacter
jump_ball_lost_person_idinteger
shot_distancenumeric
shot_resultcharacter
shot_action_numberinteger
rebound_totalinteger
rebound_defensive_totalinteger
rebound_offensive_totalinteger
turnover_totalinteger
steal_player_namecharacter
steal_person_idinteger
points_totalinteger
assist_player_name_initialcharacter
assist_person_idinteger
assist_totalinteger
official_idinteger
foul_personal_totalinteger
foul_technical_totalinteger
foul_drawn_player_namecharacter
foul_drawn_person_idinteger
block_player_namecharacter
block_person_idinteger
valuecharacter
player2_idinteger
player3_idinteger

Details

  wnba_live_pbp(game_id = "1022200034")

See also

Other WNBA PBP Functions: wnba_data_pbp(), wnba_pbps(), wnba_pbp()

Other WNBA Live Functions: wnba_todays_scoreboard()

Author

Saiem Gilani