Skip to contents

Get ESPN's WNBA player box data

Usage

espn_wnba_player_box(game_id)

Arguments

game_id

Game ID

Value

Returns a player boxscore data frame

Player

col_nametypes
game_idinteger
seasoninteger
season_typeinteger
game_dateDate
game_date_timePOSIXct
athlete_idinteger
athlete_display_namecharacter
team_idinteger
team_namecharacter
team_locationcharacter
team_short_display_namecharacter
minutesnumeric
field_goals_madeinteger
field_goals_attemptedinteger
three_point_field_goals_madeinteger
three_point_field_goals_attemptedinteger
free_throws_madeinteger
free_throws_attemptedinteger
offensive_reboundsinteger
defensive_reboundsinteger
reboundsinteger
assistsinteger
stealsinteger
blocksinteger
turnoversinteger
foulsinteger
plus_minuscharacter
pointsinteger
starterlogical
ejectedlogical
did_not_playlogical
reasoncharacter
activelogical
athlete_jerseycharacter
athlete_short_namecharacter
athlete_headshot_hrefcharacter
athlete_position_namecharacter
athlete_position_abbreviationcharacter
team_display_namecharacter
team_uidcharacter
team_slugcharacter
team_logocharacter
team_abbreviationcharacter
team_colorcharacter
team_alternate_colorcharacter
home_awaycharacter
team_winnerlogical
team_scoreinteger
opponent_team_idinteger
opponent_team_namecharacter
opponent_team_locationcharacter
opponent_team_display_namecharacter
opponent_team_abbreviationcharacter
opponent_team_logocharacter
opponent_team_colorcharacter
opponent_team_alternate_colorcharacter
opponent_team_scoreinteger

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wnba_player_box(game_id = 401244185))
#> ── ESPN WNBA Player Box Information from ESPN.com ────────────── wehoop 2.1.0 ──
#>  Data updated: 2024-07-21 23:47:06 UTC
#> # A tibble: 25 × 57
#>      game_id season season_type game_date  game_date_time      athlete_id
#>        <int>  <int>       <int> <date>     <dttm>                   <int>
#>  1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        872
#>  2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00        982
#>  3 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3149391
#>  4 401244185   2020           3 2020-10-06 2020-10-06 19:00:00       1014
#>  5 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2529205
#>  6 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2284331
#>  7 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2566452
#>  8 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    2491197
#>  9 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    3058908
#> 10 401244185   2020           3 2020-10-06 2020-10-06 19:00:00    4065870
#> # ℹ 15 more rows
#> # ℹ 51 more variables: athlete_display_name <chr>, team_id <int>,
#> #   team_name <chr>, team_location <chr>, team_short_display_name <chr>,
#> #   minutes <dbl>, field_goals_made <int>, field_goals_attempted <int>,
#> #   three_point_field_goals_made <int>,
#> #   three_point_field_goals_attempted <int>, free_throws_made <int>,
#> #   free_throws_attempted <int>, offensive_rebounds <int>, …
# }