
Get ESPN's WNBA game data (play-by-play, team and player box)
Source:R/espn_wnba_data.R
espn_wnba_game_all.Rd
Get ESPN's WNBA game data (play-by-play, team and player box)
Examples
# \donttest{
try(espn_wnba_game_all(game_id = 401244185))
#> $Plays
#> ── ESPN WNBA Play-by-Play Information from ESPN.com ──────────── wehoop 1.5.0 ──
#> ℹ Data updated: 2022-06-17 12:06:30 UTC
#> # A tibble: 388 × 48
#> shooting_play sequence_number home_score scoring_play away_score id text
#> <lgl> <chr> <int> <lgl> <int> <chr> <chr>
#> 1 FALSE 4 0 FALSE 0 40124… Caro…
#> 2 FALSE 7 0 FALSE 0 40124… Nata…
#> 3 FALSE 9 0 FALSE 0 40124… Nata…
#> 4 TRUE 10 0 FALSE 0 40124… Dani…
#> 5 FALSE 11 0 FALSE 0 40124… Caro…
#> 6 TRUE 12 0 TRUE 2 40124… Caro…
#> 7 TRUE 13 0 FALSE 2 40124… Sue …
#> 8 FALSE 14 0 FALSE 2 40124… Las …
#> 9 TRUE 15 0 TRUE 4 40124… A'ja…
#> 10 FALSE 17 0 FALSE 4 40124… Ange…
#> # … with 378 more rows, and 41 more variables: score_value <int>,
#> # period_display_value <chr>, period_number <int>, coordinate_x <int>,
#> # coordinate_y <int>, clock_display_value <chr>, team_id <chr>,
#> # type_id <chr>, type_text <chr>, play_id <chr>, athlete_id_1 <chr>,
#> # athlete_id_2 <chr>, athlete_id_3 <chr>, home_team_id <int>,
#> # home_team_mascot <chr>, home_team_name <chr>, home_team_abbrev <chr>,
#> # home_team_logo <chr>, home_team_logo_dark <chr>, …
#>
#> $Team
#> ── ESPN WNBA Team Box Information from ESPN.com ──────────────── wehoop 1.5.0 ──
#> ℹ Data updated: 2022-06-17 12:06:30 UTC
#> # A tibble: 2 × 40
#> game_id season season_type game_date team_short_display_name team_uid
#> <dbl> <int> <int> <date> <chr> <chr>
#> 1 401244185 2020 3 2020-10-06 Aces s:40~l:59~t:17
#> 2 401244185 2020 3 2020-10-06 Storm s:40~l:59~t:14
#> # … with 34 more variables: team_alternate_color <chr>, team_color <chr>,
#> # team_display_name <chr>, team_name <chr>, team_logo <chr>,
#> # team_location <chr>, team_id <chr>, team_abbreviation <chr>,
#> # team_slug <chr>, field_goals_made_field_goals_attempted <chr>,
#> # field_goal_pct <chr>,
#> # three_point_field_goals_made_three_point_field_goals_attempted <chr>,
#> # three_point_field_goal_pct <chr>, …
#>
#> $Player
#> ── ESPN WNBA Player Box Information from ESPN.com ────────────── wehoop 1.5.0 ──
#> ℹ Data updated: 2022-06-17 12:06:30 UTC
#> # A tibble: 21 × 32
#> athlete_display_n… team_short_disp… min fg fg3 ft oreb dreb reb
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 Angel McCoughtry Aces 20 2-7 1-1 2-2 0 1 1
#> 2 A'ja Wilson Aces 32 7-15 0-0 4-4 0 6 6
#> 3 Carolyn Swords Aces 25 3-5 0-0 0-0 4 6 10
#> 4 Danielle Robinson Aces 25 2-7 0-0 0-2 0 2 2
#> 5 Kayla McBride Aces 25 3-7 1-2 2-2 0 6 6
#> 6 Emma Cannon Aces 17 1-4 0-0 0-2 2 1 3
#> 7 Cierra Burdick Aces 9 0-2 0-0 0-0 0 1 1
#> 8 Sugar Rodgers Aces 15 0-3 0-2 0-0 1 1 2
#> 9 Lindsay Allen Aces 7 1-2 0-0 0-0 0 1 1
#> 10 Jackie Young Aces 26 3-12 0-0 5-6 0 1 1
#> # … with 11 more rows, and 23 more variables: ast <chr>, stl <chr>, blk <chr>,
#> # to <chr>, pf <chr>, `+/-` <chr>, pts <chr>, starter <lgl>, ejected <lgl>,
#> # did_not_play <lgl>, active <lgl>, athlete_jersey <chr>, athlete_id <chr>,
#> # athlete_short_name <chr>, athlete_headshot_href <chr>,
#> # athlete_position_name <chr>, athlete_position_abbreviation <chr>,
#> # team_name <chr>, team_logo <chr>, team_id <chr>, team_abbreviation <chr>,
#> # team_color <chr>, team_alternate_color <chr>
#>
# }