Skip to contents

Get WNBA Stats API League Leaders

Get WNBA Stats API League Leaders

Usage

wnba_leagueleaders(
  active_flag = "",
  league_id = "10",
  per_mode = "Totals",
  scope = "S",
  season = most_recent_wnba_season() - 1,
  season_type = "Regular Season",
  stat_category = "PTS",
  ...
)

Arguments

active_flag

Active Flag

league_id

League - default: '00'. Other options include '10': WNBA, '20': G-League

per_mode

Per Mode - Totals, PerGame, Per48

scope

Scope - RS, S, Rookies

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs

stat_category

Stat Category: PTS, REB, AST, FG_PCT, FT_PCT, FG3_PCT, STL, BLK

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: LeagueLeaders

LeagueLeaders

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
RANKcharacterWhether to include statistical ranks in the returned table.
PLAYERcharacter
TEAM_IDcharacterUnique team identifier.
TEAMcharacterTeam-side label or team identifier.
GPcharacterGames played.
MINcharacterMinutes played.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).
FG3McharacterThree-point field goals made.
FG3AcharacterThree-point field goal attempts.
FG3_PCTcharacterThree-point field goal percentage (0-1).
FTMcharacterFree throws made.
FTAcharacterFree throw attempts.
FT_PCTcharacterFree throw percentage (0-1).
OREBcharacterOffensive rebounds.
DREBcharacterDefensive rebounds.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STLcharacterSteals.
BLKcharacterBlocks.
TOVcharacterTurnovers.
PFcharacterPersonal fouls.
PTScharacterPoints scored.
EFFcharacter
AST_TOVcharacter
STL_TOVcharacter

Details

 wnba_leagueleaders(league_id = '10')

Author

Saiem Gilani