Skip to contents

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

Usage

espn_wbb_game_all(game_id)

Arguments

game_id

Game ID

Value

A named list of dataframes: Plays, Team, Player

Plays

col_nametypesdescription
idcharacterUnique play identifcation number
sequence_numbercharacterSequence number representing a shot-possession (V3 PBP).
textcharacterText description of the play / record.
away_scoreintegerAway team score at the time of the play.
home_scoreintegerHome team score at the time of the play.
scoring_playlogicalTRUE if the play resulted in points scored.
score_valueintegerPoint value of the play (2 / 3 / 1).
wallclockcharacterWallclock.
shooting_playlogicalTRUE if the play was a shooting attempt.
type_idintegerType identifier (numeric).
type_textcharacterDisplay text for the type field.
period_numberintegerNumeric period (1-4 for quarters; 5+ for OT).
period_display_valuecharacterPeriod display label (e.g. '1st Quarter', 'OT').
clock_display_valuecharacterGame clock display string (e.g. '8:32').
team_idintegerUnique team identifier.
coordinate_x_rawnumericX coordinate as returned by the API before any adjustment.
coordinate_y_rawnumericY coordinate as returned by the API before any adjustment.
coordinate_xnumericX coordinate on the court (half-court layout).
coordinate_ynumericY coordinate on the court (half-court layout).
play_idcharacterUnique play identifier within a game.
athlete_id_1integerPrimary athlete identifier (e.g. shooter).
athlete_id_2integerSecondary athlete identifier (e.g. assister / fouler).
home_team_idintegerUnique identifier for the home team.
home_team_mascotcharacterHome team mascot.
home_team_namecharacterHome team name.
home_team_abbrevcharacterHome team three-letter abbreviation.
home_team_logocharacterHome team logo URL.
home_team_logo_darkcharacterHome team logo URL for dark backgrounds.
home_team_full_namecharacterFull home team name (e.g. 'Las Vegas Aces').
home_team_colorcharacterHome team primary color (hex).
home_team_alternate_colorcharacterHome team alternate color (hex).
home_team_scoreintegerHome team's score.
home_team_winnerlogicalTRUE if the home team won this game.
home_team_recordcharacterHome team's win-loss record.
away_team_idintegerUnique identifier for the away team.
away_team_mascotcharacterAway team mascot.
away_team_namecharacterAway team name.
away_team_abbrevcharacterAway team three-letter abbreviation.
away_team_logocharacterAway team logo URL.
away_team_logo_darkcharacterAway team logo URL for dark backgrounds.
away_team_full_namecharacterFull away team name (e.g. 'Las Vegas Aces').
away_team_colorcharacterAway team primary color (hex).
away_team_alternate_colorcharacterAway team alternate color (hex).
away_team_scoreintegerAway team's score.
away_team_winnerlogicalTRUE if the away team won this game.
away_team_recordcharacterAway team's win-loss record.
game_idintegerUnique game identifier.
seasonintegerSeason identifier (4-digit year or 'YYYY-YY' string).
season_typeintegerSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateDateGame date (YYYY-MM-DD).
game_date_timePOSIXctGame start date/time (ISO 8601).

Team

col_nametypesdescription
game_idintegerUnique game identifier.
seasonintegerSeason identifier (4-digit year or 'YYYY-YY' string).
season_typeintegerSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateDateGame date (YYYY-MM-DD).
game_date_timePOSIXctGame start date/time (ISO 8601).
team_idintegerUnique team identifier.
team_uidcharacterESPN universal team identifier (UID format 's:40~l:...~t:...').
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_logocharacterTeam logo image URL.
team_home_awaycharacterTeam home away.
team_scoreintegerTeam's score / final score.
team_winnerlogicalTRUE if the team won this game.
assistsintegerTotal assists.
blocksintegerTotal blocks.
defensive_reboundsintegerDefensive rebounds.
field_goal_pctnumericField goal percentage (0-1).
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
flagrant_foulsintegerTotal flagrant fouls.
foulsintegerPersonal fouls.
free_throw_pctnumericFree throw percentage (0-1).
free_throws_madeintegerFree throws made.
free_throws_attemptedintegerFree throw attempts.
largest_leadcharacterLargest lead during the game.
offensive_reboundsintegerOffensive rebounds.
stealsintegerTotal steals.
team_turnoversintegerTeam turnovers (turnovers credited to the team rather than a player).
technical_foulsintegerTotal technical fouls.
three_point_field_goal_pctnumericThree-point field goal percentage (0-1).
three_point_field_goals_madeintegerThree-point field goals made.
three_point_field_goals_attemptedintegerThree-point field goal attempts.
total_reboundsintegerTotal rebounds.
total_technical_foulsintegerTotal technical fouls (player + team).
total_turnoversintegerTotal turnovers (player + team).
turnoversintegerTotal turnovers.
opponent_team_idintegerUnique identifier for the opponent team.
opponent_team_uidcharacterOpponent team uid.
opponent_team_slugcharacterOpponent team slug.
opponent_team_locationcharacterOpponent team city / location.
opponent_team_namecharacterOpponent team display name.
opponent_team_abbreviationcharacterOpponent team abbreviation.
opponent_team_display_namecharacterOpponent team full display name.
opponent_team_short_display_namecharacterOpponent team short display name.
opponent_team_colorcharacterOpponent team primary color (hex).
opponent_team_alternate_colorcharacterOpponent team alternate color (hex).
opponent_team_logocharacterOpponent team logo URL.
opponent_team_scoreintegerOpponent team's score.

Player

col_nametypesdescription
game_idintegerUnique game identifier.
seasonintegerSeason identifier (4-digit year or 'YYYY-YY' string).
season_typeintegerSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateDateGame date (YYYY-MM-DD).
game_date_timePOSIXctGame start date/time (ISO 8601).
athlete_idintegerUnique athlete identifier (ESPN).
athlete_display_namecharacterAthlete display name (full).
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_locationcharacterTeam city or location string.
team_short_display_namecharacterShort team display name (e.g. 'Aces').
minutesnumericMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
field_goals_madeintegerField goals made (2-pt + 3-pt).
field_goals_attemptedintegerField goal attempts (2-pt + 3-pt).
three_point_field_goals_madeintegerThree-point field goals made.
three_point_field_goals_attemptedintegerThree-point field goal attempts.
free_throws_madeintegerFree throws made.
free_throws_attemptedintegerFree throw attempts.
offensive_reboundsintegerOffensive rebounds.
defensive_reboundsintegerDefensive rebounds.
reboundsintegerTotal rebounds.
assistsintegerTotal assists.
stealsintegerTotal steals.
blocksintegerTotal blocks.
turnoversintegerTotal turnovers.
foulsintegerPersonal fouls.
pointsintegerPoints scored.
starterlogicalTRUE if the player was in the starting lineup; FALSE otherwise.
ejectedlogicalTRUE if the player was ejected from the game.
did_not_playlogicalTRUE if the player did not appear in the game.
activelogicalTRUE if the row represents an active record (player / team / season).
athlete_jerseycharacterAthlete jersey number.
athlete_short_namecharacterAthlete short display name.
athlete_headshot_hrefcharacterAthlete headshot image URL.
athlete_position_namecharacterAthlete position ('Guard', 'Forward', 'Center').
athlete_position_abbreviationcharacterAthlete position abbreviation (G / F / C).
team_display_namecharacterFull team display name.
team_uidcharacterESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_logocharacterTeam logo image URL.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_colorcharacterTeam primary color (hex without leading '#').
team_alternate_colorcharacterTeam alternate color (hex without leading '#').
home_awaycharacterGame venue label ('home' or 'away').
team_winnerlogicalTRUE if the team won this game.
team_scoreintegerTeam's score / final score.
opponent_team_idintegerUnique identifier for the opponent team.
opponent_team_namecharacterOpponent team display name.
opponent_team_locationcharacterOpponent team city / location.
opponent_team_display_namecharacterOpponent team full display name.
opponent_team_abbreviationcharacterOpponent team abbreviation.
opponent_team_logocharacterOpponent team logo URL.
opponent_team_colorcharacterOpponent team primary color (hex).
opponent_team_alternate_colorcharacterOpponent team alternate color (hex).
opponent_team_scoreintegerOpponent team's score.

See also

Other ESPN WBB Functions: espn_wbb_athletes_index(), espn_wbb_award(), espn_wbb_calendar(), espn_wbb_coach(), espn_wbb_coach_record(), espn_wbb_coach_season(), espn_wbb_coaches(), espn_wbb_conferences(), espn_wbb_franchise(), espn_wbb_franchises(), espn_wbb_game_broadcasts(), espn_wbb_game_odds(), espn_wbb_game_official_detail(), espn_wbb_game_officials(), espn_wbb_game_play(), espn_wbb_game_play_personnel(), espn_wbb_game_player_box(), espn_wbb_game_powerindex(), espn_wbb_game_predictor(), espn_wbb_game_probabilities(), espn_wbb_game_propbets(), espn_wbb_game_rosters(), espn_wbb_game_situation(), espn_wbb_game_team_leaders(), espn_wbb_game_team_linescores(), espn_wbb_game_team_records(), espn_wbb_game_team_roster(), espn_wbb_game_team_roster_entry(), espn_wbb_game_team_score(), espn_wbb_game_team_statistics(), espn_wbb_injuries(), espn_wbb_leaders(), espn_wbb_news(), espn_wbb_pbp(), espn_wbb_player_awards(), espn_wbb_player_box(), espn_wbb_player_career_stats(), espn_wbb_player_eventlog(), espn_wbb_player_eventlog_v2(), espn_wbb_player_gamelog(), espn_wbb_player_info(), espn_wbb_player_overview(), espn_wbb_player_seasons(), espn_wbb_player_splits(), espn_wbb_player_statisticslog(), espn_wbb_player_stats(), espn_wbb_player_stats_v3(), espn_wbb_position(), espn_wbb_positions(), espn_wbb_powerindex(), espn_wbb_rankings(), espn_wbb_scoreboard(), espn_wbb_season_awards(), espn_wbb_season_group(), espn_wbb_season_group_children(), espn_wbb_season_group_teams(), espn_wbb_season_groups(), espn_wbb_season_info(), espn_wbb_season_leaders(), espn_wbb_season_ranking(), espn_wbb_season_rankings(), espn_wbb_season_type(), espn_wbb_season_types(), espn_wbb_season_week(), espn_wbb_season_weeks(), espn_wbb_seasons(), espn_wbb_standings(), espn_wbb_team(), espn_wbb_team_box(), espn_wbb_team_injuries(), espn_wbb_team_leaders(), espn_wbb_team_news(), espn_wbb_team_record_detail(), espn_wbb_team_roster(), espn_wbb_team_schedule(), espn_wbb_team_season_profile(), espn_wbb_team_season_roster(), espn_wbb_team_season_statistics(), espn_wbb_team_stats(), espn_wbb_teams(), espn_wbb_tournament(), espn_wbb_tournament_season(), espn_wbb_tournament_seasons(), espn_wbb_tournaments(), espn_wbb_venues(), espn_wbb_week_ranking(), espn_wbb_week_rankings()

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wbb_game_all(game_id = 401276115))
#> $Plays
#> ── ESPN WBB Play-by-Play Information from ESPN.com ───────────── wehoop 3.0.0 ──
#>  Data updated: 2026-06-12 14:51:41 UTC
#> # A tibble: 386 × 53
#>    id       sequence_number text  away_score home_score scoring_play score_value
#>    <chr>    <chr>           <chr>      <int>      <int> <lgl>              <int>
#>  1 4012761… 101899901       Jump…          0          0 FALSE                  0
#>  2 4012761… 101904901       Morg…          0          2 TRUE                   2
#>  3 4012761… 101907701       Kian…          3          2 TRUE                   3
#>  4 4012761… 101914901       Vale…          3          2 FALSE                  2
#>  5 4012761… 101914902       Morg…          3          2 FALSE                  0
#>  6 4012761… 101915701       Kour…          3          5 TRUE                   3
#>  7 4012761… 101919001       Dana…          3          5 FALSE                  3
#>  8 4012761… 101919002       Kian…          3          5 FALSE                  0
#>  9 4012761… 101919501       Myka…          5          5 TRUE                   2
#> 10 4012761… 101924601       Morg…          5          5 FALSE                  2
#> # ℹ 376 more rows
#> # ℹ 46 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 WBB Team Box Information from ESPN.com ───────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-06-12 14:51:41 UTC
#> # A tibble: 2 × 56
#>     game_id season season_type game_date  game_date_time      team_id team_uid  
#>       <int>  <int>       <int> <date>     <dttm>                <int> <chr>     
#> 1 401276115   2021           2 2021-02-21 2021-02-21 14:00:00      97 s:40~l:54…
#> 2 401276115   2021           2 2021-02-21 2021-02-21 14:00:00      52 s:40~l:54…
#> # ℹ 49 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>, fouls <int>, …
#> 
#> $Player
#> ── ESPN WBB Player Box Information from ESPN.com ─────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-06-12 14:51:41 UTC
#> # A tibble: 25 × 54
#>      game_id season season_type game_date  game_date_time      athlete_id
#>        <int>  <int>       <int> <date>     <dttm>                   <int>
#>  1 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4433426
#>  2 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4433412
#>  3 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4398604
#>  4 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4281919
#>  5 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4281190
#>  6 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4703211
#>  7 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4398591
#>  8 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4398589
#>  9 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4433094
#> 10 401276115   2021           2 2021-02-21 2021-02-21 14:00:00    4398835
#> # ℹ 15 more rows
#> # ℹ 48 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>, …
#> 
 # }