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.5.0 ──
#>  Data updated: 2022-06-17 12:06:21 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>, …
# }