Skip to contents

Get ESPN's WNBA game data (play-by-play, team and player box)

Get ESPN's WNBA play by play data

Get ESPN's WNBA team box data

Get ESPN's WNBA player box data

Get ESPN WNBA game rosters

Usage

espn_wnba_game_all(game_id)

espn_wnba_pbp(game_id)

espn_wnba_team_box(game_id)

espn_wnba_player_box(game_id)

espn_wnba_game_rosters(game_id)

Arguments

game_id

Game ID

Value

A named list of dataframes: Plays, Team, Player

Plays

Columns as documented in the shared espn_basketball_game_all_plays_schema table.

Team

Columns as documented in the shared espn_basketball_team_box_schema table.

Player

Columns as documented in the shared espn_basketball_game_all_player_schema table.

Returns a play-by-play data frame

Plays

Columns as documented in the shared espn_basketball_game_all_plays_schema table.

Returns a team boxscore data frame

Team

Columns as documented in the shared espn_basketball_team_box_schema table.

Returns a player boxscore data frame

Player

Columns as documented in the shared espn_basketball_game_all_player_schema table.

A game rosters data frame

col_nametypesdescription
athlete_idintegerUnique athlete identifier (ESPN).
athlete_uidcharacterESPN athlete UID (universal identifier).
athlete_guidcharacterESPN athlete GUID.
athlete_typecharacterAthlete type / class.
sdrintegerSdr.
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
full_namecharacterPlayer's full name.
athlete_display_namecharacterAthlete display name (full).
short_namecharacterShort display name.
weightnumericPlayer weight in pounds.
display_weightcharacterPlayer weight in display format (e.g. '180 lbs').
heightnumericPlayer height (string e.g. '6-2' or inches).
display_heightcharacterPlayer height in display format (e.g. '6-2').
ageintegerPlayer age (in years).
date_of_birthcharacterDate of birth (YYYY-MM-DD).
slugcharacterURL-safe identifier.
headshot_hrefcharacterHeadshot image URL.
headshot_altcharacterAlternative-text label for the headshot.
jerseycharacterJersey number worn by the player.
position_idintegerUnique position identifier.
position_namecharacterListed roster position ('Guard', 'Forward', 'Center').
position_display_namecharacterPosition display name.
position_abbreviationcharacterPosition abbreviation ('G' / 'F' / 'C').
position_leaflogicalPosition leaf.
linkedlogicalTRUE if the record is linked to a related entity.
yearsintegerYears.
activelogicalTRUE if the row represents an active record (player / team / season).
status_idintegerStatus identifier.
status_namecharacterStatus label.
status_typecharacterStatus type.
status_abbreviationcharacterStatus abbreviation.
birth_place_citycharacterBirth place city.
birth_place_statecharacterBirth place state.
birth_place_countrycharacterBirth place country.
starterlogicalTRUE if the player was in the starting lineup; FALSE otherwise.
validlogicalValid.
did_not_playlogicalTRUE if the player did not appear in the game.
display_namecharacterDisplay name.
reasoncharacterReason.
ejectedlogicalTRUE if the player was ejected from the game.
team_idintegerUnique team identifier.
team_guidcharacterESPN team GUID.
team_uidcharacterESPN universal team identifier (UID format 's:40~l:...~t:...').
team_sdrintegerESPN team SDR identifier.
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_locationcharacterTeam city or location string.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_display_namecharacterFull team display name.
team_short_display_namecharacterShort team display name (e.g. 'Aces').
team_colorcharacterTeam primary color (hex without leading '#').
team_alternate_colorcharacterTeam alternate color (hex without leading '#').
team_is_activelogicalTRUE if the team is currently active.
is_all_starlogicalIs all star.
logo_hrefcharacterTeam or league logo URL.
logo_dark_hrefcharacterLogo URL for dark backgrounds.
logos_href_2characterLogos href 2.
logos_href_3characterLogos href 3.
game_idintegerUnique game identifier.
orderintegerDisplay order within the result set.
home_awaycharacterGame venue label ('home' or 'away').
winnerlogicalWinner.
draft_display_textcharacterDraft display text.
draft_roundintegerRound of the draft selection.
draft_yearintegerDraft year (4-digit).
draft_selectionintegerDraft selection.
hand_typecharacterHand type.
hand_abbreviationcharacterHand abbreviation.
hand_display_valuecharacterHand display value.
citizenshipcharacterCitizenship.

See also

Other ESPN WNBA Functions: espn_wnba_athletes_index(), espn_wnba_award(), espn_wnba_calendar(), espn_wnba_coach_season(), espn_wnba_coaches(), espn_wnba_conferences(), espn_wnba_draft(), espn_wnba_draft_athlete_detail(), espn_wnba_draft_pick(), espn_wnba_draft_rounds(), espn_wnba_franchise(), espn_wnba_franchises(), espn_wnba_freeagents(), espn_wnba_futures(), espn_wnba_game_odds(), espn_wnba_game_official_detail(), espn_wnba_game_play(), espn_wnba_game_play_personnel(), espn_wnba_game_player_box(), espn_wnba_game_probabilities(), espn_wnba_game_propbets(), espn_wnba_game_team_linescores(), espn_wnba_game_team_roster_entry(), espn_wnba_injuries(), espn_wnba_leaders(), espn_wnba_news(), espn_wnba_player_awards(), espn_wnba_player_career_stats(), espn_wnba_player_eventlog_v2(), espn_wnba_player_info(), espn_wnba_player_overview(), espn_wnba_player_seasons(), espn_wnba_player_stats(), espn_wnba_position(), espn_wnba_positions(), espn_wnba_powerindex(), espn_wnba_scoreboard(), espn_wnba_season_awards(), espn_wnba_season_group(), espn_wnba_season_groups(), espn_wnba_season_info(), espn_wnba_season_leaders(), espn_wnba_season_ranking(), espn_wnba_season_rankings(), espn_wnba_season_type(), espn_wnba_season_types(), espn_wnba_season_week(), espn_wnba_season_weeks(), espn_wnba_seasons(), espn_wnba_standings(), espn_wnba_team(), espn_wnba_team_injuries(), espn_wnba_team_news(), espn_wnba_team_record(), espn_wnba_team_record_detail(), espn_wnba_team_schedule(), espn_wnba_team_season_roster(), espn_wnba_team_season_statistics(), espn_wnba_team_stats(), espn_wnba_teams(), espn_wnba_transactions(), espn_wnba_venues(), espn_wnba_week_ranking(), espn_wnba_week_rankings()

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wnba_game_all(game_id = 401244185))
#> $Plays
#> ── ESPN WNBA Play-by-Play Information from ESPN.com ──────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:20 UTC
#> # A tibble: 388 × 54
#>    id       sequence_number text  away_score home_score scoring_play score_value
#>    <chr>    <chr>           <chr>      <int>      <int> <lgl>              <int>
#>  1 4012441… 4               Caro…          0          0 FALSE                  0
#>  2 4012441… 7               Nata…          0          0 FALSE                  0
#>  3 4012441… 9               Nata…          0          0 FALSE                  0
#>  4 4012441… 10              Dani…          0          0 FALSE                  0
#>  5 4012441… 11              Caro…          0          0 FALSE                  0
#>  6 4012441… 12              Caro…          2          0 TRUE                   2
#>  7 4012441… 13              Sue …          2          0 FALSE                  0
#>  8 4012441… 14              Las …          2          0 FALSE                  0
#>  9 4012441… 15              A'ja…          4          0 TRUE                   2
#> 10 4012441… 17              Ange…          4          0 FALSE                  0
#> # ℹ 378 more rows
#> # ℹ 47 more variables: wallclock <chr>, shooting_play <lgl>,
#> #   points_attempted <int>, short_description <chr>, 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>, …
#> 
#> $Team
#> ── ESPN WNBA Team Box Information from ESPN.com ──────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:21 UTC
#> # A tibble: 2 × 57
#>     game_id season season_type game_date  game_date_time      team_id team_uid  
#>       <int>  <int>       <int> <date>     <dttm>                <int> <chr>     
#> 1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      17 s:40~l:59…
#> 2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      14 s:40~l:59…
#> # ℹ 50 more variables: team_slug <chr>, team_location <chr>, team_name <chr>,
#> #   team_abbreviation <chr>, team_display_name <chr>,
#> #   team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_logo <chr>, team_home_away <chr>,
#> #   team_score <int>, team_winner <lgl>, assists <int>, blocks <int>,
#> #   defensive_rebounds <int>, fast_break_points <chr>, field_goal_pct <dbl>,
#> #   field_goals_made <int>, field_goals_attempted <int>, …
#> 
#> $Player
#> ── ESPN WNBA Player Box Information from ESPN.com ────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:21 UTC
#> # A tibble: 25 × 57
#>      game_id season season_type game_date  game_date_time      athlete_id
#>        <int>  <int>       <int> <date>     <dttm>                   <int>
#>  1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        872
#>  2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        982
#>  3 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3149391
#>  4 401244185   2020           3 2020-10-06 2020-10-06 19:00:00       1014
#>  5 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2529205
#>  6 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2284331
#>  7 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2566452
#>  8 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2491197
#>  9 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3058908
#> 10 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    4065870
#> # ℹ 15 more rows
#> # ℹ 51 more variables: athlete_display_name <chr>, team_id <int>,
#> #   team_name <chr>, team_location <chr>, team_short_display_name <chr>,
#> #   minutes <dbl>, field_goals_made <int>, field_goals_attempted <int>,
#> #   three_point_field_goals_made <int>,
#> #   three_point_field_goals_attempted <int>, free_throws_made <int>,
#> #   free_throws_attempted <int>, offensive_rebounds <int>, …
#> 
# }

# \donttest{
   try(espn_wnba_pbp(game_id = 401455681))
#> ── ESPN WNBA Play-by-Play Information from ESPN.com ──────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:22 UTC
#> # A tibble: 343 × 54
#>    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
#> # ℹ 47 more variables: wallclock <chr>, shooting_play <lgl>,
#> #   points_attempted <int>, short_description <chr>, 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>, …
# }

# \donttest{
   try(espn_wnba_team_box(game_id = 401244185))
#> ── ESPN WNBA Team Box Information from ESPN.com ──────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:22 UTC
#> # A tibble: 2 × 57
#>     game_id season season_type game_date  game_date_time      team_id team_uid  
#>       <int>  <int>       <int> <date>     <dttm>                <int> <chr>     
#> 1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      17 s:40~l:59…
#> 2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      14 s:40~l:59…
#> # ℹ 50 more variables: team_slug <chr>, team_location <chr>, team_name <chr>,
#> #   team_abbreviation <chr>, team_display_name <chr>,
#> #   team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_logo <chr>, team_home_away <chr>,
#> #   team_score <int>, team_winner <lgl>, assists <int>, blocks <int>,
#> #   defensive_rebounds <int>, fast_break_points <chr>, field_goal_pct <dbl>,
#> #   field_goals_made <int>, field_goals_attempted <int>, …
# }
# \donttest{
  try(espn_wnba_player_box(game_id = 401244185))
#> ── ESPN WNBA Player Box Information from ESPN.com ────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:22 UTC
#> # A tibble: 25 × 57
#>      game_id season season_type game_date  game_date_time      athlete_id
#>        <int>  <int>       <int> <date>     <dttm>                   <int>
#>  1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        872
#>  2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        982
#>  3 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3149391
#>  4 401244185   2020           3 2020-10-06 2020-10-06 19:00:00       1014
#>  5 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2529205
#>  6 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2284331
#>  7 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2566452
#>  8 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2491197
#>  9 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3058908
#> 10 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    4065870
#> # ℹ 15 more rows
#> # ℹ 51 more variables: athlete_display_name <chr>, team_id <int>,
#> #   team_name <chr>, team_location <chr>, team_short_display_name <chr>,
#> #   minutes <dbl>, field_goals_made <int>, field_goals_attempted <int>,
#> #   three_point_field_goals_made <int>,
#> #   three_point_field_goals_attempted <int>, free_throws_made <int>,
#> #   free_throws_attempted <int>, offensive_rebounds <int>, …
# }

# \donttest{
  try(espn_wnba_game_rosters(game_id = 401244185))
#> ── ESPN WNBA Game Roster Information from ESPN.com ───────────── wehoop 3.0.0 ──
#>  Data updated: 2026-09-10 00:48:24 UTC
#> # A tibble: 24 × 156
#>    athlete_id athlete_uid  athlete_guid athlete_type    sdr first_name last_name
#>         <int> <chr>        <chr>        <chr>         <int> <chr>      <chr>    
#>  1        924 s:40~l:59~a… 09609790-79… basketball   2.24e6 Alysha     Clark    
#>  2    2998928 s:40~l:59~a… 4d83d500-2f… basketball   3.00e6 Breanna    Stewart  
#>  3         91 s:40~l:59~a… e28a886c-1b… basketball   2.09e6 Sue        Bird     
#>  4    2987869 s:40~l:59~a… 6268520f-7d… basketball   2.99e6 Jewell     Loyd     
#>  5        805 s:40~l:59~a… 54d95e90-71… basketball   2.17e6 Crystal    Langhorne
#>  6    2998929 s:40~l:59~a… 2d61e8fa-19… basketball   3.00e6 Morgan     Tuck     
#>  7    4420318 s:40~l:59~a… 1a2b36a5-ad… basketball   4.42e6 Ezi        Magbegor 
#>  8    3056672 s:40~l:59~a… fc7acd4e-21… basketball   3.06e6 Mercedes   Russell  
#>  9        882 s:40~l:59~a… 0230e8a4-7b… basketball   2.28e6 Epiphanny  Prince   
#> 10    3142250 s:40~l:59~a… 6e517eae-e6… basketball   3.14e6 Jordin     Canada   
#> # ℹ 14 more rows
#> # ℹ 149 more variables: full_name <chr>, athlete_display_name <chr>,
#> #   short_name <chr>, weight <dbl>, display_weight <chr>, height <dbl>,
#> #   display_height <chr>, age <int>, date_of_birth <chr>, slug <chr>,
#> #   headshot_href <chr>, headshot_alt <chr>, jersey_x <chr>, position_id <int>,
#> #   position_name <chr>, position_display_name <chr>,
#> #   position_abbreviation <chr>, position_leaf <lgl>, linked <lgl>, …
# }