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.5.0 ──
#>  Data updated: 2022-06-17 12:06:18 UTC
#> # A tibble: 386 × 47
#>    shooting_play sequence_number home_score scoring_play away_score id     text 
#>    <lgl>         <chr>                <int> <lgl>             <int> <chr>  <chr>
#>  1 FALSE         101899901                0 FALSE                 0 40127… Jump…
#>  2 TRUE          101904901                2 TRUE                  0 40127… Morg…
#>  3 TRUE          101907701                2 TRUE                  3 40127… Kian…
#>  4 TRUE          101914901                2 FALSE                 3 40127… Vale…
#>  5 FALSE         101914902                2 FALSE                 3 40127… Morg…
#>  6 TRUE          101915701                5 TRUE                  3 40127… Kour…
#>  7 TRUE          101919001                5 FALSE                 3 40127… Dana…
#>  8 FALSE         101919002                5 FALSE                 3 40127… Kian…
#>  9 TRUE          101919501                5 TRUE                  5 40127… Myka…
#> 10 TRUE          101924601                5 FALSE                 5 40127… Morg…
#> # … with 376 more rows, and 40 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>, 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>, …
#> 
#> $Team
#> ── ESPN WBB Team Box Information from ESPN.com ───────────────── wehoop 1.5.0 ──
#>  Data updated: 2022-06-17 12:06:19 UTC
#> # A tibble: 2 × 41
#>     game_id season season_type game_date  team_short_display_name team_uid      
#>       <dbl>  <int>       <int> <date>     <chr>                   <chr>         
#> 1 401276115   2021           2 2021-02-21 Louisville              s:40~l:54~t:97
#> 2 401276115   2021           2 2021-02-21 Florida State           s:40~l:54~t:52
#> # … with 35 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 WBB Player Box Information from ESPN.com ─────────────── wehoop 1.5.0 ──
#>  Data updated: 2022-06-17 12:06:19 UTC
#> # A tibble: 19 × 31
#>    athlete_display_n… team_short_disp… min   fg    fg3   ft    oreb  dreb  reb  
#>    <chr>              <chr>            <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#>  1 Olivia Cochran     Louisville       19    6-10  0-0   0-2   3     6     9    
#>  2 Hailey Van Lith    Louisville       22    1-7   0-1   3-6   3     5     8    
#>  3 Mykasa Robinson    Louisville       26    1-2   0-0   1-2   2     3     5    
#>  4 Kianna Smith       Louisville       35    3-9   2-6   2-2   1     3     4    
#>  5 Dana Evans         Louisville       38    5-21  1-9   2-2   1     1     2    
#>  6 Malea Williams     Louisville       1     0-0   0-0   0-0   0     0     0    
#>  7 Liz Dixon          Louisville       24    3-5   0-0   2-4   1     4     5    
#>  8 Norika Konno       Louisville       7     0-0   0-0   0-0   0     2     2    
#>  9 Ahlana Smith       Louisville       2     0-0   0-0   0-0   0     0     0    
#> 10 Elizabeth Balogun  Louisville       26    2-6   0-4   4-4   2     2     4    
#> 11 Valencia Myers     Florida State    26    3-9   0-0   3-5   5     2     7    
#> 12 Sammie Puisis      Florida State    29    0-5   0-4   0-0   1     2     3    
#> 13 Kourtney Weber     Florida State    32    6-11  2-5   0-2   4     1     5    
#> 14 Bianca Jackson     Florida State    27    1-8   0-0   5-6   0     2     2    
#> 15 Morgan Jones       Florida State    29    7-13  0-0   12-15 3     7     10   
#> 16 Savannah Wilkinson Florida State    10    0-0   0-0   0-0   0     1     1    
#> 17 River Baldwin      Florida State    14    1-3   0-0   1-2   2     3     5    
#> 18 Sayawni Lassiter   Florida State    11    0-4   0-3   1-2   3     2     5    
#> 19 Tiana England      Florida State    22    1-7   1-1   5-6   0     3     3    
#> # … with 22 more variables: ast <chr>, stl <chr>, blk <chr>, 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>
#> 
 # }