Skip to contents

Get NBA Stats API Player Career Stats

Get NBA Stats API Player Career Stats

Usage

nba_playercareerstats(
  league_id = "00",
  per_mode = "Totals",
  player_id = "2544",
  ...
)

Arguments

league_id

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

per_mode

Per Mode - PerGame, Totals

player_id

Player ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: CareerTotalsAllStarSeason, CareerTotalsCollegeSeason, CareerTotalsPostSeason, CareerTotalsRegularSeason, SeasonRankingsPostSeason, SeasonRankingsRegularSeason, SeasonTotalsAllStarSeason, SeasonTotalsCollegeSeason, SeasonTotalsPostSeason, SeasonTotalsRegularSeason

SeasonTotalsRegularSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsRegularSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
Team_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsPostSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsPostSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
Team_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsAllStarSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsAllStarSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
Team_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsCollegeSeason

CareerTotalsCollegeSeason

SeasonTotalsShowcaseSeason

CareerTotalsShowcaseSeason

SeasonRankingsRegularSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
RANK_MINcharacter
RANK_FGMcharacter
RANK_FGAcharacter
RANK_FG_PCTcharacter
RANK_FG3Mcharacter
RANK_FG3Acharacter
RANK_FG3_PCTcharacter
RANK_FTMcharacter
RANK_FTAcharacter
RANK_FT_PCTcharacter
RANK_OREBcharacter
RANK_DREBcharacter
RANK_REBcharacter
RANK_ASTcharacter
RANK_STLcharacter
RANK_BLKcharacter
RANK_TOVcharacter
RANK_PTScharacter
RANK_EFFcharacter

SeasonRankingsPostSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
RANK_MINcharacter
RANK_FGMcharacter
RANK_FGAcharacter
RANK_FG_PCTcharacter
RANK_FG3Mcharacter
RANK_FG3Acharacter
RANK_FG3_PCTcharacter
RANK_FTMcharacter
RANK_FTAcharacter
RANK_FT_PCTcharacter
RANK_OREBcharacter
RANK_DREBcharacter
RANK_REBcharacter
RANK_ASTcharacter
RANK_STLcharacter
RANK_BLKcharacter
RANK_TOVcharacter
RANK_PTScharacter
RANK_EFFcharacter

Details

Player Career Stats

 nba_playercareerstats(player_id = '2544')

Author

Saiem Gilani