Skip to contents

Get ESPN women's college basketball play by play data

Usage

espn_wbb_pbp(game_id)

Arguments

game_id

Game ID

Value

Returns a play-by-play data frame

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wbb_pbp(game_id = 401498717))
#> ── ESPN WBB Play-by-Play Information from ESPN.com ───────────── wehoop 1.8.0 ──
#>  Data updated: 2023-03-11 06:14:57 UTC
#> # A tibble: 369 × 46
#>    id      seque…¹ text  away_…² home_…³ scori…⁴ score…⁵ wallc…⁶ shoot…⁷ type_id
#>    <chr>   <chr>   <chr>   <int>   <int> <lgl>     <int> <chr>   <lgl>   <chr>  
#>  1 401498… 101905… Agne…       0       0 FALSE         3 2023-0… TRUE    558    
#>  2 401498… 101906… Isab…       0       0 FALSE         0 2023-0… FALSE   587    
#>  3 401498… 101907… Alis…       0       0 FALSE         2 2023-0… TRUE    572    
#>  4 401498… 101907… Came…       0       0 FALSE         0 2023-0… FALSE   587    
#>  5 401498… 101908… Hale…       0       0 FALSE         2 2023-0… TRUE    572    
#>  6 401498… 101908… Kenn…       0       0 FALSE         0 2023-0… FALSE   587    
#>  7 401498… 101909… Jenn…       0       0 FALSE         2 2023-0… TRUE    572    
#>  8 401498… 101909… Hale…       0       0 FALSE         0 2023-0… FALSE   618    
#>  9 401498… 101909… Hale…       0       0 FALSE         0 2023-0… FALSE   587    
#> 10 401498… 101914… Agne…       3       0 TRUE          3 2023-0… TRUE    558    
#> # … with 359 more rows, 36 more variables: type_text <chr>,
#> #   period_number <int>, period_display_value <chr>, clock_display_value <chr>,
#> #   team_id <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>, home_team_color <chr>,
#> #   home_team_alternate_color <chr>, home_team_score <int>, …
# }