Skip to contents

Get WNBA Stats API Homepage Leaders

Get WNBA Stats API Homepage Leaders

Usage

wnba_homepageleaders(
  league_id = "10",
  game_scope = "Season",
  player_or_team = "Team",
  player_scope = "All Players",
  season = most_recent_wnba_season() - 1,
  season_type = "Regular Season",
  stat_category = "Points",
  ...
)

Arguments

league_id

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

game_scope

Game Scope - Season, Last 10, ,Yesterday, Finals

player_or_team

Player or Team

player_scope

Player Scope - All Players, Rookies

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs

stat_category

Stat Category: Points, Rebounds, Assists, Defense, Clutch, Playmaking, Efficiency, Fast Break, Scoring Breakdown

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: HomePageLeaders, LeagueAverage, LeagueMax

HomePageLeaders

col_nametypesdescription
RANKcharacterWhether to include statistical ranks in the returned table.
PLAYERIDcharacter
PLAYERcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
PTScharacterPoints scored.
FG_PCTcharacterField goal percentage (0-1).
FG3_PCTcharacterThree-point field goal percentage (0-1).
FT_PCTcharacterFree throw percentage (0-1).
EFG_PCTcharacterEffective field goal percentage (0-1).
TS_PCTcharacterTrue shooting percentage (0-1).
PTS_PER48character

LeagueAverage

col_nametypesdescription
PTSnumericPoints scored.
FG_PCTnumericField goal percentage (0-1).
FG3_PCTnumericThree-point field goal percentage (0-1).
FT_PCTnumericFree throw percentage (0-1).
EFG_PCTnumericEffective field goal percentage (0-1).
TS_PCTnumericTrue shooting percentage (0-1).
PTS_PER48numeric

LeagueMax

col_nametypesdescription
PTSnumericPoints scored.
FG_PCTnumericField goal percentage (0-1).
FG3_PCTnumericThree-point field goal percentage (0-1).
FT_PCTnumericFree throw percentage (0-1).
EFG_PCTnumericEffective field goal percentage (0-1).
TS_PCTnumericTrue shooting percentage (0-1).
PTS_PER48numeric

Details

  wnba_homepageleaders(league_id = '10', player_or_team = "Player")
  wnba_homepageleaders(league_id = '10', player_or_team = "Team")

Author

Saiem Gilani