Skip to contents

Deprecated in hoopR 3.0.0. This endpoint is unstable/empty; use nba_playercareerbycollegerollup() instead.

Deprecated in hoopR 3.0.0. This endpoint is unstable/empty; use nba_playerprofilev2() instead.

Usage

nba_playerindex(
  college = "",
  country = "",
  draft_pick = "",
  draft_round = "",
  draft_year = "",
  height = "",
  historical = 1,
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  team_id = "0",
  weight = "",
  ...
)

nba_playerheadshot(player_id = "2544", ...)

nba_playerawards(player_id, ...)

nba_playercareerbycollege(
  college = "Florida State",
  league_id = "00",
  per_mode = "Totals",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playercareerbycollegerollup(
  league_id = "00",
  per_mode = "Totals",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

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

nba_infographicfanduelplayer(game_id, ...)

nba_playerfantasyprofile(
  league_id = "00",
  measure_type = "Base",
  pace_adjust = "N",
  per_mode = "Totals",
  player_id = "2544",
  plus_minus = "N",
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playerfantasyprofilebargraph(
  league_id = "00",
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playerestimatedmetrics(
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playergamelog(
  date_from = "",
  date_to = "",
  league_id = "00",
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playergamelogs(
  date_from = "",
  date_to = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  po_round = "",
  per_mode = "Totals",
  period = 0,
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_playergamestreakfinder(
  active_streaks_only = "",
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  draft_year = "",
  draft_team_id = "",
  draft_round = "",
  draft_number = "",
  et_ast = "",
  et_blk = "",
  et_dd = "",
  et_dreb = "",
  et_fg3a = "",
  et_fg3m = "",
  et_fg3_pct = "",
  et_fga = "",
  et_fgm = "",
  et_fg_pct = "",
  et_fta = "",
  et_ftm = "",
  et_ft_pct = "",
  et_minutes = "",
  et_oreb = "",
  et_pf = "",
  et_pts = "",
  et_reb = "",
  et_stl = "",
  et_td = "",
  et_tov = "",
  game_id = "",
  gt_ast = "",
  gt_blk = "",
  gt_dd = "",
  gt_dreb = "",
  gt_fg3a = "",
  gt_fg3m = "",
  gt_fg3_pct = "",
  gt_fga = "",
  gt_fgm = "",
  gt_fg_pct = "",
  gt_fta = "",
  gt_ftm = "",
  gt_ft_pct = "",
  gt_minutes = "",
  gt_oreb = "",
  gt_pf = "",
  gt_pts = "",
  gt_reb = "",
  gt_stl = "",
  gt_td = "",
  gt_tov = "",
  league_id = "00",
  location = "",
  lt_ast = "",
  lt_blk = "",
  lt_dd = "",
  lt_dreb = "",
  lt_fg3a = "",
  lt_fg3m = "",
  lt_fg3_pct = "",
  lt_fga = "",
  lt_fgm = "",
  lt_fg_pct = "",
  lt_fta = "",
  lt_ftm = "",
  lt_ft_pct = "",
  lt_minutes = "",
  lt_oreb = "",
  lt_pf = "",
  lt_pts = "",
  lt_reb = "",
  lt_stl = "",
  lt_td = "",
  lt_tov = "",
  min_games = "",
  outcome = "",
  po_round = "",
  player_id = "",
  rookie_year = "",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  starter_bench = "",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  vs_team_id = "",
  years_experience = "",
  ...
)

nba_playernextngames(
  league_id = "",
  number_of_games = 2147483647,
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

nba_playerprofilev2(
  league_id = "",
  per_mode = "Totals",
  player_id = "2544",
  ...
)

nba_playervsplayer(
  date_from = "",
  date_to = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_id = "2544",
  plus_minus = "N",
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  vs_conference = "",
  vs_division = "",
  vs_player_id = "203076",
  ...
)

nba_playercompare(
  conference = "",
  date_from = "",
  date_to = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_id_list = "202681,203078,2544,201567,203954",
  plus_minus = "N",
  rank = "N",
  season = "2020-21",
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  vs_conference = "",
  vs_division = "",
  vs_player_id_list = "201566,201939,201935,201142,203076",
  ...
)

Arguments

college

Player College

country

Player Country

draft_pick

Draft Pick

draft_round

Draft Round

draft_year

Draft Year

height

Player Height

historical

Whether to include only current players (0) or all historical (1).

league_id

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

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

team_id

Team ID. Default: 0 (all teams).

weight

Player weight

...

Additional arguments passed to an underlying function like httr.

player_id

Player ID

per_mode

Per Mode - PerGame, Totals

game_id

game_id

measure_type

measure_type

pace_adjust

Pace Adjustment - Y/N

plus_minus

Plus Minus - Y/N

rank

Rank - Y/N

date_from

date_from

date_to

date_to

game_segment

game_segment

last_n_games

last_n_games

location

location

month

month

opponent_team_id

opponent_team_id

outcome

outcome

po_round

po_round

period

period

season_segment

season_segment

vs_conference

vs_conference

vs_division

vs_division

active_streaks_only

active_streaks_only

conference

conference

division

division

draft_team_id

draft_team_id

draft_number

draft_number

et_ast

et_ast

et_blk

et_blk

et_dd

et_dd

et_dreb

et_dreb

et_fg3a

et_fg3a

et_fg3m

et_fg3m

et_fg3_pct

et_fg3_pct

et_fga

et_fga

et_fgm

et_fgm

et_fg_pct

et_fg_pct

et_fta

et_fta

et_ftm

et_ftm

et_ft_pct

et_ft_pct

et_minutes

et_minutes

et_oreb

et_oreb

et_pf

et_pf

et_pts

et_pts

et_reb

et_reb

et_stl

et_stl

et_td

et_td

et_tov

et_tov

gt_ast

gt_ast

gt_blk

gt_blk

gt_dd

gt_dd

gt_dreb

gt_dreb

gt_fg3a

gt_fg3a

gt_fg3m

gt_fg3m

gt_fg3_pct

gt_fg3_pct

gt_fga

gt_fga

gt_fgm

gt_fgm

gt_fg_pct

gt_fg_pct

gt_fta

gt_fta

gt_ftm

gt_ftm

gt_ft_pct

gt_ft_pct

gt_minutes

gt_minutes

gt_oreb

gt_oreb

gt_pf

gt_pf

gt_pts

gt_pts

gt_reb

gt_reb

gt_stl

gt_stl

gt_td

gt_td

gt_tov

gt_tov

lt_ast

lt_ast

lt_blk

lt_blk

lt_dd

lt_dd

lt_dreb

lt_dreb

lt_fg3a

lt_fg3a

lt_fg3m

lt_fg3m

lt_fg3_pct

lt_fg3_pct

lt_fga

lt_fga

lt_fgm

lt_fgm

lt_fg_pct

lt_fg_pct

lt_fta

lt_fta

lt_ftm

lt_ftm

lt_ft_pct

lt_ft_pct

lt_minutes

lt_minutes

lt_oreb

lt_oreb

lt_pf

lt_pf

lt_pts

lt_pts

lt_reb

lt_reb

lt_stl

lt_stl

lt_td

lt_td

lt_tov

lt_tov

min_games

min_games

rookie_year

rookie_year

starter_bench

starter_bench

vs_team_id

vs_team_id

years_experience

years_experience

number_of_games

N in number of games

vs_player_id

vs_player_id

player_id_list

Player ID

shot_clock_range

shot_clock_range

vs_player_id_list

vs_player_id_list

Value

Return a named list of data frames: PlayerIndex

PlayerIndex

col_nametypesdescription
PERSON_IDcharacterUnique player identifier (V3 endpoints).
PLAYER_LAST_NAMEcharacter
PLAYER_FIRST_NAMEcharacter
PLAYER_SLUGcharacterURL-safe player identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_SLUGcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
IS_DEFUNCTcharacter
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
JERSEY_NUMBERcharacter
POSITIONcharacterListed roster position (G, F, C, etc.).
HEIGHTcharacterPlayer height (string e.g. '6-2' or inches).
WEIGHTcharacterPlayer weight in pounds.
COLLEGEcharacterCollege or school attended.
COUNTRYcharacterCountry (full name or code).
DRAFT_YEARcharacterDraft year (4-digit).
DRAFT_ROUNDcharacterRound of the draft selection.
DRAFT_NUMBERcharacter
ROSTER_STATUScharacter
PTScharacterPoints scored.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STATS_TIMEFRAMEcharacter
FROM_YEARcharacter
TO_YEARcharacter

Returns a url of the png for the player_id selected

Return a named list of data frames: PlayerAwards

PlayerAwards

col_nametypesdescription
PERSON_IDcharacterUnique player identifier (V3 endpoints).
FIRST_NAMEcharacterPlayer's first name.
LAST_NAMEcharacterPlayer's last name.
TEAMcharacterTeam-side label or team identifier.
DESCRIPTIONcharacterLong-form description text.
ALL_NBA_TEAM_NUMBERcharacter
SEASONcharacterSeason identifier (4-digit year or 'YYYY-YY' string).
MONTHcharacterMonth number.
WEEKcharacterWeek number within the season.
CONFERENCEcharacterConference.
TYPEcharacterRecord type / category.
SUBTYPE1character
SUBTYPE2character
SUBTYPE3character

Return a named list of data frames: PlayerCareerByCollege

PlayerCareerByCollege

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
COLLEGEcharacterCollege or school attended.
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
PFcharacterPersonal fouls.
PTScharacterPoints scored.

Return a named list of data frames: East, Midwest, South, West

East

col_nametypesdescription
REGIONcharacterRegion label.
SEEDcharacterTournament seed.
COLLEGEcharacterCollege or school attended.
PLAYERScharacter
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.

South

Same columns as the East table above.

Midwest

Same columns as the East table above.

West

Same columns as the East table above.

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

SeasonTotalsRegularSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsRegularSeason

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
Team_IDcharacterUnique team identifier.
GPcharacterGames played.
GScharacterGames started.
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.

SeasonTotalsPostSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsPostSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsAllStarSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsAllStarSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsCollegeSeason

CareerTotalsCollegeSeason

SeasonTotalsShowcaseSeason

CareerTotalsShowcaseSeason

SeasonRankingsRegularSeason

Columns as documented in the shared nba_playercareerstats_seasonrankingsregularseason_schema table.

SeasonRankingsPostSeason

Columns as documented in the shared nba_playercareerstats_seasonrankingsregularseason_schema table.

Return a named list of data frames: FanDuelPlayer

FanDuelPlayer

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
JERSEY_NUMcharacterJersey number worn by the player.
PLAYER_POSITIONcharacter
LOCATIONcharacterLocation.
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter
USG_PCTcharacterUsage percentage (0-1).
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.

Return a named list of data frames: DaysRestModified, LastNGames, Location, Opponent, Overall

Overall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.
DD2character
TD3character
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter

Location

Same columns as the Overall table above.

LastNGames

Same columns as the Overall table above.

DaysRestModified

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
SEASON_YEARcharacterSeason year string ('YYYY-YY' format).
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.
DD2character
TD3character
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter

Opponent

Same columns as the Overall table above.

Return a named list of data frames: LastFiveGamesAvg, SeasonAvg

SeasonAvg

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter
PTScharacterPoints scored.
REBcharacterTotal rebounds.
ASTcharacterAssists.
FG3McharacterThree-point field goals made.
FT_PCTcharacterFree throw percentage (0-1).
STLcharacterSteals.
BLKcharacterBlocks.
TOVcharacterTurnovers.
FG_PCTcharacterField goal percentage (0-1).

LastFiveGamesAvg

Same columns as the SeasonAvg table above.

Return a named list of data frames: PlayerEstimatedMetrics

PlayerEstimatedMetrics

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
MINcharacterMinutes played.
E_OFF_RATINGcharacter
E_DEF_RATINGcharacter
E_NET_RATINGcharacter
E_AST_RATIOcharacter
E_OREB_PCTcharacter
E_DREB_PCTcharacter
E_REB_PCTcharacter
E_TOV_PCTcharacter
E_USG_PCTcharacter
E_PACEcharacter
GP_RANKcharacter
W_RANKcharacter
L_RANKcharacter
W_PCT_RANKcharacter
MIN_RANKcharacter
E_OFF_RATING_RANKcharacter
E_DEF_RATING_RANKcharacter
E_NET_RATING_RANKcharacter
E_AST_RATIO_RANKcharacter
E_OREB_PCT_RANKcharacter
E_DREB_PCT_RANKcharacter
E_REB_PCT_RANKcharacter
E_TOV_PCT_RANKcharacter
E_USG_PCT_RANKcharacter
E_PACE_RANKcharacter

Return a named list of data frames: PlayerGameLog

PlayerGameLog

col_nametypesdescription
SEASON_IDcharacterUnique season identifier.
Player_IDcharacterUnique player identifier.
Game_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
MATCHUPcharacterMatchup.
WLcharacterWl.
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.
PLUS_MINUScharacterPlus/minus point differential while on court.
VIDEO_AVAILABLEcharacterVideo available.

Return a named list of data frames: PlayerGameLogs

PlayerGameLogs

col_nametypesdescription
SEASON_YEARcharacterSeason year string ('YYYY-YY' format).
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
NICKNAMEcharacterTeam or athlete nickname.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
MATCHUPcharacterMatchup.
WLcharacterWl.
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.
NBA_FANTASY_PTScharacter
DD2character
TD3character
WNBA_FANTASY_PTScharacter
GP_RANKcharacter
W_RANKcharacter
L_RANKcharacter
W_PCT_RANKcharacter
MIN_RANKcharacter
FGM_RANKcharacter
FGA_RANKcharacter
FG_PCT_RANKcharacter
FG3M_RANKcharacter
FG3A_RANKcharacter
FG3_PCT_RANKcharacter
FTM_RANKcharacter
FTA_RANKcharacter
FT_PCT_RANKcharacter
OREB_RANKcharacter
DREB_RANKcharacter
REB_RANKcharacter
AST_RANKcharacter
TOV_RANKcharacter
STL_RANKcharacter
BLK_RANKcharacter
BLKA_RANKcharacter
PF_RANKcharacter
PFD_RANKcharacter
PTS_RANKcharacter
PLUS_MINUS_RANKcharacter
NBA_FANTASY_PTS_RANKcharacter
DD2_RANKcharacter
TD3_RANKcharacter
WNBA_FANTASY_PTS_RANKcharacter
VIDEO_AVAILABLE_FLAGcharacterVideo available flag.

Return a named list of data frames: PlayerGameStreakFinderResults

PlayerGameStreakFinderResults

col_nametypesdescription
PLAYER_NAME_LAST_FIRSTcharacter
PLAYER_IDcharacterUnique player identifier.
GAMESTREAKcharacter
STARTDATEcharacter
ENDDATEcharacter
ACTIVESTREAKcharacter
NUMSEASONScharacter
LASTSEASONcharacter
FIRSTSEASONcharacter

Return a named list of data frames: NextNGames

NextNGames

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
HOME_TEAM_IDcharacterUnique identifier for the home team.
VISITOR_TEAM_IDcharacter
HOME_TEAM_NAMEcharacterHome team name.
VISITOR_TEAM_NAMEcharacter
HOME_TEAM_ABBREVIATIONcharacter
VISITOR_TEAM_ABBREVIATIONcharacter
HOME_TEAM_NICKNAMEcharacter
VISITOR_TEAM_NICKNAMEcharacter
GAME_TIMEcharacterGame start time.
HOME_WLcharacter
VISITOR_WLcharacter

Return a named list of data frames: CareerHighs, CareerTotalsAllStarSeason, CareerTotalsCollegeSeason, CareerTotalsPostSeason, CareerTotalsPreseason, CareerTotalsRegularSeason, NextGame, SeasonHighs, SeasonRankingsPostSeason, SeasonRankingsRegularSeason, SeasonTotalsAllStarSeason, SeasonTotalsCollegeSeason, SeasonTotalsPostSeason, SeasonTotalsPreseason, SeasonTotalsRegularSeason

SeasonTotalsRegularSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsRegularSeason

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
TEAM_IDcharacterUnique team identifier.
GPcharacterGames played.
GScharacterGames started.
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.

SeasonTotalsPostSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsPostSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsAllStarSeason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsAllStarSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsCollegeSeason

CareerTotalsCollegeSeason

SeasonTotalsPreseason

Columns as documented in the shared nba_playercareerstats_seasontotalsregularseason_schema table.

CareerTotalsPreseason

Same columns as the CareerTotalsRegularSeason table above.

SeasonRankingsRegularSeason

Columns as documented in the shared nba_playercareerstats_seasonrankingsregularseason_schema table.

SeasonRankingsPostSeason

Columns as documented in the shared nba_playercareerstats_seasonrankingsregularseason_schema table.

SeasonHighs

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NAMEcharacter
VS_TEAM_ABBREVIATIONcharacter
STATcharacterStat.
STAT_VALUEcharacter
STAT_ORDERcharacter
DATE_ESTcharacter

CareerHighs

Same columns as the SeasonHighs table above.

NextGame

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
GAME_TIMEcharacterGame start time.
LOCATIONcharacterLocation.
PLAYER_TEAM_IDcharacter
PLAYER_TEAM_CITYcharacter
PLAYER_TEAM_NICKNAMEcharacter
PLAYER_TEAM_ABBREVIATIONcharacter
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NICKNAMEcharacter
VS_TEAM_ABBREVIATIONcharacter

Return a named list of data frames: OnOffCourt, Overall, PlayerInfo, ShotAreaOffCourt, ShotAreaOnCourt, ShotAreaOverall, ShotDistanceOffCourt, ShotDistanceOnCourt, ShotDistanceOverall, VsPlayerInfo

Overall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.
NBA_FANTASY_PTScharacter

OnOffCourt

col_nametypesdescription
GROUP_SETcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
VS_PLAYER_IDcharacter
VS_PLAYER_NAMEcharacter
COURT_STATUScharacter
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.
NBA_FANTASY_PTScharacter

ShotDistanceOverall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).

ShotDistanceOnCourt

col_nametypesdescription
GROUP_SETcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
VS_PLAYER_IDcharacter
VS_PLAYER_NAMEcharacter
COURT_STATUScharacter
GROUP_VALUEcharacter
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).

ShotDistanceOffCourt

Same columns as the ShotDistanceOnCourt table above.

ShotAreaOverall

Same columns as the ShotDistanceOverall table above.

ShotAreaOnCourt

Same columns as the ShotDistanceOnCourt table above.

ShotAreaOffCourt

Same columns as the ShotDistanceOnCourt table above.

PlayerInfo

col_nametypesdescription
PERSON_IDcharacterUnique player identifier (V3 endpoints).
FIRST_NAMEcharacterPlayer's first name.
LAST_NAMEcharacterPlayer's last name.
DISPLAY_FIRST_LASTcharacter
DISPLAY_LAST_COMMA_FIRSTcharacter
DISPLAY_FI_LASTcharacter
BIRTHDATEcharacter
SCHOOLcharacterPlayer's school / college (when distinct from 'college').
COUNTRYcharacterCountry (full name or code).
LAST_AFFILIATIONcharacter

VsPlayerInfo

Same columns as the PlayerInfo table above.

Return a named list of data frames: Individual, OverallCompare

OverallCompare

col_nametypesdescription
GROUP_SETcharacter
DESCRIPTIONcharacterLong-form description text.
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.
TOVcharacterTurnovers.
STLcharacterSteals.
BLKcharacterBlocks.
BLKAcharacter
PFcharacterPersonal fouls.
PFDcharacter
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.

Individual

Same columns as the OverallCompare table above.

Details

Player Index

Player Headshot

 nba_playerheadshot(player_id = '2544')

Player Awards

 nba_playerawards(player_id = '2544')

 nba_playercareerbycollege(college = 'Florida State', per_mode = 'PerGame')

 nba_playercareerbycollegerollup(per_mode = 'Totals')

Player Career Stats

 nba_playercareerstats(player_id = '2544')

 nba_infographicfanduelplayer(game_id = "0022201086")

 nba_playerfantasyprofile(player_id = '2544')

Player Estimated Metrics

Player Game Log

 nba_playergamelog(player_id = '2544')

Player Game Logs

 nba_playergamelogs(player_id = '2544')

 nba_playernextngames(player_id = '2544')

Player Profile

 nba_playerprofilev2(player_id = '2544')

 nba_playervsplayer(player_id = '2544', vs_player_id = '203076')

 nba_playercompare(player_id_list = '202681,203078,2544,201567,203954', vs_player_id_list = '201566,201939,201935,201142,203076')

See also

Other NBA Player Functions: nba_fantasywidget(), nba_leaguedashoppptshot(), nba_playerdashboardbyclutch()

Other NBA Fantasy Functions: nba_fantasywidget()

Other NBA Game Finder Functions: nba_leaguegamelog(), nba_teams()

Author

Saiem Gilani