Learn R Programming

wehoop (version 3.0.0)

bref_wnba_player_stats: Basketball-Reference WNBA Player Season Stats

Description

Get WNBA league-wide player season statistics from Basketball-Reference.

One row per player for a season. No account or API key is required. Basketball-Reference rate-limits aggressive scraping (~20 requests/minute) -- space repeated calls with Sys.sleep().

Usage

bref_wnba_player_stats(season = most_recent_wnba_season(), table = "per_game")

Value

A wehoop_data tibble with one row per player, carrying season and table columns.

col_nametypes
playercharacter
team_idcharacter
poscharacter
gnumeric
pts_per_gnumeric
seasoninteger
tablecharacter

Arguments

season

Season, in 4-digit year format (e.g. 2024). Defaults to most_recent_wnba_season().

table

Which stats table -- one of "per_game" (default), "totals" or "advanced".

See Also

Other WNBA Basketball-Reference Functions: bref_wnba_standings(), bref_wnba_team_stats()

Examples

Run this code
# \donttest{
  try(bref_wnba_player_stats(season = 2024, table = "per_game"))
# }

Run the code above in your browser using DataLab