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 = 401276115))
#> ── ESPN WBB Play-by-Play Information from ESPN.com ───────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:31 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>, …
# }