Skip to contents

Get ESPN WNBA team stats data

Usage

espn_wnba_team_stats(team_id, year, season_type = "regular", total = FALSE)

Arguments

team_id

Team ID

year

Year

season_type

(character, default: regular): Season type - regular or postseason

total

(boolean, default: FALSE): Totals

Value

Returns a tibble with the team stats data

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wnba_team_stats(team_id = 18, year = 2020))
#> ── ESPN WNBA Team Season Stats from ESPN.com ─────────────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:50 UTC
#> # A tibble: 1 × 114
#>   team_id team_guid      team_…¹ team_…² team_…³ team_…⁴ team_…⁵ team_…⁶ team_…⁷
#>   <chr>   <chr>          <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1 18      7c72e7ee5064b… s:40~l… 15432   connec… Connec… Sun     CONN    Connec…
#> # … with 105 more variables: team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_is_active <lgl>, team_is_all_star <lgl>,
#> #   logo_href <chr>, logo_dark_href <chr>, defensive_blocks <dbl>,
#> #   defensive_defensive_rebounds <dbl>, defensive_steals <dbl>,
#> #   defensive_avg_defensive_rebounds <dbl>, defensive_avg_blocks <dbl>,
#> #   defensive_avg_steals <dbl>, defensive_avg48defensive_rebounds <dbl>,
#> #   defensive_avg48blocks <dbl>, defensive_avg48steals <dbl>, …
# }