Get ESPN's WNBA play by play data
Value
Returns a play-by-play data frame
Plays
col_name | types |
id | character |
sequence_number | character |
text | character |
away_score | integer |
home_score | integer |
scoring_play | logical |
score_value | integer |
wallclock | character |
shooting_play | logical |
type_id | integer |
type_text | character |
period_number | integer |
period_display_value | character |
clock_display_value | character |
team_id | integer |
coordinate_x_raw | numeric |
coordinate_y_raw | numeric |
coordinate_x | numeric |
coordinate_y | numeric |
play_id | character |
athlete_id_1 | integer |
athlete_id_2 | integer |
athlete_id_3 | integer |
home_team_id | integer |
home_team_mascot | character |
home_team_name | character |
home_team_abbrev | character |
home_team_logo | character |
home_team_logo_dark | character |
home_team_full_name | character |
home_team_color | character |
home_team_alternate_color | character |
home_team_score | integer |
home_team_winner | logical |
home_team_record | character |
away_team_id | integer |
away_team_mascot | character |
away_team_name | character |
away_team_abbrev | character |
away_team_logo | character |
away_team_logo_dark | character |
away_team_full_name | character |
away_team_color | character |
away_team_alternate_color | character |
away_team_score | integer |
away_team_winner | logical |
away_team_record | character |
game_id | integer |
season | integer |
season_type | integer |
game_date | Date |
game_date_time | POSIXct |
See also
Other ESPN WNBA Functions:
espn_wnba_game_all()
,
espn_wnba_game_rosters()
,
espn_wnba_player_box()
,
espn_wnba_player_stats()
,
espn_wnba_scoreboard()
,
espn_wnba_standings()
,
espn_wnba_team_box()
,
espn_wnba_team_stats()
,
espn_wnba_teams()
Examples
# \donttest{
try(espn_wnba_pbp(game_id = 401455681))
#> ── ESPN WNBA Play-by-Play Information from ESPN.com ──────────── wehoop 2.1.0 ──
#> ℹ Data updated: 2024-07-21 23:47:06 UTC
#> # A tibble: 343 × 52
#> id sequence_number text away_score home_score scoring_play score_value
#> <chr> <chr> <chr> <int> <int> <lgl> <int>
#> 1 4014556… 4 Jonq… 0 0 FALSE 0
#> 2 4014556… 7 A'ja… 0 2 TRUE 2
#> 3 4014556… 9 Nati… 0 2 FALSE 0
#> 4 4014556… 10 Kiah… 0 2 FALSE 0
#> 5 4014556… 11 Jack… 0 5 TRUE 3
#> 6 4014556… 13 Nati… 3 5 TRUE 3
#> 7 4014556… 15 A'ja… 3 7 TRUE 2
#> 8 4014556… 17 Cour… 3 7 FALSE 0
#> 9 4014556… 18 Kels… 3 7 FALSE 0
#> 10 4014556… 19 A'ja… 3 9 TRUE 2
#> # ℹ 333 more rows
#> # ℹ 45 more variables: wallclock <chr>, shooting_play <lgl>, type_id <int>,
#> # type_text <chr>, period_number <int>, period_display_value <chr>,
#> # clock_display_value <chr>, team_id <int>, coordinate_x_raw <dbl>,
#> # coordinate_y_raw <dbl>, coordinate_x <dbl>, coordinate_y <dbl>,
#> # play_id <chr>, athlete_id_1 <int>, athlete_id_2 <int>, athlete_id_3 <int>,
#> # home_team_id <int>, home_team_mascot <chr>, home_team_name <chr>, …
# }