Skip to contents

Get NBA Stats API All-time Leaders Grid

Get NBA Stats API All-time Leaders Grid

Usage

nba_alltimeleadersgrids(
  league_id = "00",
  per_mode = "PerGame",
  season_type = "Regular Season",
  top_x = 10,
  ...
)

Arguments

league_id

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

per_mode

Per Mode - PerGame, Totals

season_type

Season Type - Regular Season, Playoffs, All-Star

top_x

Top X

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: ASTLeaders, BLKLeaders, DREBLeaders, FG3ALeaders, FG3MLeaders, FG3_PCTLeaders, FGALeaders, FGMLeaders, FG_PCTLeaders, FTALeaders, FTMLeaders, FT_PCTLeaders, GPLeaders, OREBLeaders, PFLeaders, PTSLeaders, REBLeaders, STLLeaders, TOVLeaders

GPLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
GPcharacter
GP_RANKcharacter
IS_ACTIVE_FLAGcharacter

PTSLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
PTScharacter
PTS_RANKcharacter
IS_ACTIVE_FLAGcharacter

ASTLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
ASTcharacter
AST_RANKcharacter
IS_ACTIVE_FLAGcharacter

STLLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
STLcharacter
STL_RANKcharacter
IS_ACTIVE_FLAGcharacter

OREBLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
OREBcharacter
OREB_RANKcharacter
IS_ACTIVE_FLAGcharacter

DREBLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
DREBcharacter
DREB_RANKcharacter
IS_ACTIVE_FLAGcharacter

REBLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
REBcharacter
REB_RANKcharacter
IS_ACTIVE_FLAGcharacter

BLKLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
BLKcharacter
BLK_RANKcharacter
IS_ACTIVE_FLAGcharacter

FGMLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FGMcharacter
FGM_RANKcharacter
IS_ACTIVE_FLAGcharacter

FGALeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FGAcharacter
FGA_RANKcharacter
IS_ACTIVE_FLAGcharacter

FG_PCTLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FG_PCTcharacter
FG_PCT_RANKcharacter
IS_ACTIVE_FLAGcharacter

TOVLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
TOVcharacter
TOV_RANKcharacter
IS_ACTIVE_FLAGcharacter

FG3MLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FG3Mcharacter
FG3M_RANKcharacter
IS_ACTIVE_FLAGcharacter

FG3ALeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FG3Acharacter
FG3A_RANKcharacter
IS_ACTIVE_FLAGcharacter

FG3_PCTLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FG3_PCTcharacter
FG3_PCT_RANKcharacter
IS_ACTIVE_FLAGcharacter

PFLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
PFcharacter
PF_RANKcharacter
IS_ACTIVE_FLAGcharacter

FTMLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FTMcharacter
FTM_RANKcharacter
IS_ACTIVE_FLAGcharacter

FTALeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FTAcharacter
FTA_RANKcharacter
IS_ACTIVE_FLAGcharacter

FT_PCTLeaders

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
FT_PCTcharacter
FT_PCT_RANKcharacter
IS_ACTIVE_FLAGcharacter

Details

 nba_alltimeleadersgrids(league_id = '00')

Author

Saiem Gilani