View source: R/wnba_stats_pbp.R
| wnba_pbps | R Documentation |
Get WNBA Stats API play-by-play (Multiple Games)
Get WNBA Stats API play-by-play (Multiple Games)
wnba_pbps(
game_ids = NULL,
on_court = TRUE,
version = "v3",
nest_data = FALSE,
...
)
game_ids |
Game IDs |
on_court |
IF TRUE will be added ID of players on court |
version |
Play-by-play version - |
nest_data |
If TRUE returns nested data by game |
... |
Additional arguments passed to an underlying function like httr. |
y <- c("1022200034", "1022200035" )
wnba_pbps(game_ids = y, version = "v2")
Returns a data frame: PlayByPlay
Columns as documented in the shared wnba_players_on_court_schema table.
Jason Lee
Other WNBA PBP Functions:
wnba_data_pbp(),
wnba_live_pbp(),
wnba_pbp(),
wnba_playbyplayv3()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.