Skip to contents

Get WNBA Stats API HomepageV2 Leaders

Get WNBA Stats API HomepageV2 Leaders

Usage

wnba_homepagev2(
  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_type = "Traditional",
  ...
)

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_type

Stat Type - Traditional, Advanced, Tracking

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: HomePageStat1, HomePageStat2, HomePageStat3, HomePageStat4, HomePageStat5, HomePageStat6, HomePageStat7, HomePageStat8

HomePageStat1

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
PTScharacter

HomePageStat2

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
REBcharacter

HomePageStat3

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
ASTcharacter

HomePageStat4

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
STLcharacter

HomePageStat5

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
FG_PCTcharacter

HomePageStat6

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
FT_PCTcharacter

HomePageStat7

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
FG3_PCTcharacter

HomePageStat8

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
BLKcharacter

Details

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

Author

Saiem Gilani