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

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wbb_game_all(game_id = 401276115))
#> $Plays
#> ── ESPN WBB Play-by-Play Information from ESPN.com ───────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:26 UTC
#> # A tibble: 386 × 47
#>    id      seque…¹ text  away_…² home_…³ scori…⁴ score…⁵ shoot…⁶ type_id type_…⁷
#>    <chr>   <chr>   <chr>   <int>   <int> <lgl>     <int> <lgl>   <chr>   <chr>  
#>  1 401276… 101899… Jump…       0       0 FALSE         0 FALSE   615     Jumpba…
#>  2 401276… 101904… Morg…       0       2 TRUE          2 TRUE    572     LayUpS…
#>  3 401276… 101907… Kian…       3       2 TRUE          3 TRUE    558     JumpSh…
#>  4 401276… 101914… Vale…       3       2 FALSE         2 TRUE    558     JumpSh…
#>  5 401276… 101914… Morg…       3       2 FALSE         0 FALSE   586     Offens…
#>  6 401276… 101915… Kour…       3       5 TRUE          3 TRUE    558     JumpSh…
#>  7 401276… 101919… Dana…       3       5 FALSE         3 TRUE    558     JumpSh…
#>  8 401276… 101919… Kian…       3       5 FALSE         0 FALSE   586     Offens…
#>  9 401276… 101919… Myka…       5       5 TRUE          2 TRUE    558     JumpSh…
#> 10 401276… 101924… Morg…       5       5 FALSE         2 TRUE    558     JumpSh…
#> # … with 376 more rows, 37 more variables: period_number <int>,
#> #   period_display_value <chr>, clock_display_value <chr>, team_id <chr>,
#> #   coordinate_x <int>, coordinate_y <int>, play_id <chr>, athlete_id_1 <chr>,
#> #   athlete_id_2 <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>, home_team_full_name <chr>,
#> #   home_team_color <chr>, home_team_alternate_color <chr>, …
#> 
#> $Team
#> ── ESPN WBB Team Box Information from ESPN.com ───────────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:26 UTC
#> # A tibble: 2 × 41
#>     game_id season season_t…¹ game_date  team_id team_…² team_…³ team_…⁴ team_…⁵
#>       <dbl>  <int>      <int> <date>     <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1 401276115   2021          2 2021-02-21 97      s:40~l… louisv… Louisv… Cardin…
#> 2 401276115   2021          2 2021-02-21 52      s:40~l… florid… Florid… Semino…
#> # … with 32 more variables: team_abbreviation <chr>, team_display_name <chr>,
#> #   team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_logo <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>,
#> #   free_throws_made_free_throws_attempted <chr>, free_throw_pct <chr>, …
#> 
#> $Player
#> ── ESPN WBB Player Box Information from ESPN.com ─────────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:26 UTC
#> # A tibble: 19 × 31
#>    athlete…¹ team_…² min   fg    fg3   ft    oreb  dreb  reb   ast   stl   blk  
#>    <chr>     <chr>   <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#>  1 Olivia C… Louisv… 19    6-10  0-0   0-2   3     6     9     1     0     0    
#>  2 Hailey V… Louisv… 22    1-7   0-1   3-6   3     5     8     2     2     0    
#>  3 Mykasa R… Louisv… 26    1-2   0-0   1-2   2     3     5     0     1     0    
#>  4 Kianna S… Louisv… 35    3-9   2-6   2-2   1     3     4     3     0     0    
#>  5 Dana Eva… Louisv… 38    5-21  1-9   2-2   1     1     2     5     1     0    
#>  6 Malea Wi… Louisv… 1     0-0   0-0   0-0   0     0     0     0     0     0    
#>  7 Liz Dixon Louisv… 24    3-5   0-0   2-4   1     4     5     0     0     4    
#>  8 Elizabet… Louisv… 26    2-6   0-4   4-4   2     2     4     2     1     0    
#>  9 Norika K… Louisv… 7     0-0   0-0   0-0   0     2     2     0     0     0    
#> 10 Ahlana S… Louisv… 2     0-0   0-0   0-0   0     0     0     0     0     0    
#> 11 Valencia… Florid… 26    3-9   0-0   3-5   5     2     7     0     0     1    
#> 12 Sammie P… Florid… 29    0-5   0-4   0-0   1     2     3     2     1     0    
#> 13 Kourtney… Florid… 32    6-11  2-5   0-2   4     1     5     0     1     1    
#> 14 Bianca J… Florid… 27    1-8   0-0   5-6   0     2     2     1     0     0    
#> 15 Morgan J… Florid… 29    7-13  0-0   12-15 3     7     10    2     1     2    
#> 16 Savannah… Florid… 10    0-0   0-0   0-0   0     1     1     0     1     0    
#> 17 River Ba… Florid… 14    1-3   0-0   1-2   2     3     5     1     1     0    
#> 18 Sayawni … Florid… 11    0-4   0-3   1-2   3     2     5     1     1     0    
#> 19 Tiana En… Florid… 22    1-7   1-1   5-6   0     3     3     2     0     1    
#> # … with 19 more variables: to <chr>, pf <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>, and abbreviated variable
#> #   names ¹​athlete_display_name, ²​team_short_display_name
#> 
 # }