Skip to contents

Get ESPN's WNBA team box data

Usage

espn_wnba_team_box(game_id)

Arguments

game_id

Game ID

Value

Returns a team boxscore data frame

Team

col_nametypes
game_idinteger
seasoninteger
season_typeinteger
game_dateDate
game_date_timePOSIXct
team_idinteger
team_uidcharacter
team_slugcharacter
team_locationcharacter
team_namecharacter
team_abbreviationcharacter
team_display_namecharacter
team_short_display_namecharacter
team_colorcharacter
team_alternate_colorcharacter
team_logocharacter
team_home_awaycharacter
team_scoreinteger
team_winnerlogical
assistsinteger
blocksinteger
defensive_reboundsinteger
field_goal_pctnumeric
field_goals_madeinteger
field_goals_attemptedinteger
flagrant_foulsinteger
foulsinteger
free_throw_pctnumeric
free_throws_madeinteger
free_throws_attemptedinteger
largest_leadcharacter
offensive_reboundsinteger
stealsinteger
team_turnoversinteger
technical_foulsinteger
three_point_field_goal_pctnumeric
three_point_field_goals_madeinteger
three_point_field_goals_attemptedinteger
total_reboundsinteger
total_technical_foulsinteger
total_turnoversinteger
turnoversinteger
opponent_team_idinteger
opponent_team_uidcharacter
opponent_team_slugcharacter
opponent_team_locationcharacter
opponent_team_namecharacter
opponent_team_abbreviationcharacter
opponent_team_display_namecharacter
opponent_team_short_display_namecharacter
opponent_team_colorcharacter
opponent_team_alternate_colorcharacter
opponent_team_logocharacter
opponent_team_scoreinteger

Author

Saiem Gilani

Examples


# \donttest{
   try(espn_wnba_team_box(game_id = 401244185))
#> ── ESPN WNBA Team Box Information from ESPN.com ──────────────── wehoop 2.1.0 ──
#>  Data updated: 2024-07-21 23:47:08 UTC
#> # A tibble: 2 × 57
#>     game_id season season_type game_date  game_date_time      team_id team_uid  
#>       <int>  <int>       <int> <date>     <dttm>                <int> <chr>     
#> 1 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      17 s:40~l:59…
#> 2 401244185   2020           3 2020-10-06 2020-10-06 19:00:00      14 s:40~l:59…
#> # ℹ 50 more variables: team_slug <chr>, team_location <chr>, team_name <chr>,
#> #   team_abbreviation <chr>, team_display_name <chr>,
#> #   team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_logo <chr>, team_home_away <chr>,
#> #   team_score <int>, team_winner <lgl>, assists <int>, blocks <int>,
#> #   defensive_rebounds <int>, fast_break_points <chr>, field_goal_pct <dbl>,
#> #   field_goals_made <int>, field_goals_attempted <int>, …
# }