Skip to contents

Get ESPN WNBA player stats data

Usage

espn_wnba_player_stats(
  athlete_id,
  year,
  season_type = "regular",
  total = FALSE
)

Arguments

athlete_id

Athlete ID

year

Year

season_type

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

total

(boolean, default: FALSE): Totals

Value

Returns a tibble with the player stats data

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wnba_player_stats(athlete_id = 2529130, year = 2022))
#> ── ESPN WNBA Player Season Stats from ESPN.com ───────────────── wehoop 1.7.0 ──
#>  Data updated: 2022-11-22 05:59:48 UTC
#> # A tibble: 1 × 145
#>   athlet…¹ athle…² athle…³ athle…⁴ sdr   first…⁵ last_…⁶ full_…⁷ displ…⁸ short…⁹
#>   <chr>    <chr>   <chr>   <chr>   <chr> <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1 2529130  s:40~l… 2e32f8… basket… 2529… Natasha Howard  Natash… Natash… N. How…
#> # … with 135 more variables: weight <dbl>, display_weight <chr>, height <dbl>,
#> #   display_height <chr>, age <int>, date_of_birth <chr>, slug <chr>,
#> #   headshot_href <chr>, headshot_alt <chr>, jersey <chr>, position_id <chr>,
#> #   position_name <chr>, position_display_name <chr>,
#> #   position_abbreviation <chr>, position_leaf <lgl>, linked <lgl>,
#> #   years <int>, active <lgl>, status_id <chr>, status_name <chr>,
#> #   status_type <chr>, status_abbreviation <chr>, defensive_blocks <dbl>, …
# }