Skip to contents

[Deprecated]

NBA Stats no longer returns stable data for this endpoint. This function is deprecated and now errors when called. Use nba_franchiseleaders() instead.

[Deprecated]

NBA Stats no longer returns stable data for this endpoint. This function is deprecated and now errors when called. Use nba_teamgamelogs() instead.

Usage

nba_teams(...)

nba_teamdetails(team_id = "1610612749", ...)

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

nba_teamgamelog(
  date_from = "",
  date_to = "",
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  team_id = "1610612749",
  ...
)

nba_teamgamelogs(
  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 = "",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  team_id = "1610612749",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_teamhistoricalleaders(
  league_id = "00",
  season_id = "22022",
  team_id = "1610612749",
  ...
)

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

nba_teamplayeronoffdetails(
  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",
  plus_minus = "N",
  po_round = "",
  per_mode = "Totals",
  period = 0,
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  team_id = "1610612749",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_teamplayeronoffsummary(
  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",
  plus_minus = "N",
  po_round = "",
  per_mode = "Totals",
  period = 0,
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  team_id = "1610612749",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_teamplayerdashboard(
  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",
  plus_minus = "N",
  po_round = "",
  per_mode = "Totals",
  period = 0,
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  team_id = "1610612749",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_teamyearbyyearstats(
  league_id = "00",
  per_mode = "Totals",
  season_type = "Regular Season",
  team_id = "1610612749",
  ...
)

nba_teamvsplayer(
  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 = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_id = "",
  plus_minus = "N",
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  team_id = "1610612749",
  vs_conference = "",
  vs_division = "",
  vs_player_id = "2544",
  ...
)

nba_teamandplayersvsplayers(
  team_id,
  vs_team_id,
  player_id1,
  player_id2,
  player_id3,
  player_id4,
  player_id5,
  vs_player_id1,
  vs_player_id2,
  vs_player_id3,
  vs_player_id4,
  vs_player_id5,
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  measure_type = "Base",
  per_mode = "Totals",
  plus_minus = "N",
  pace_adjust = "N",
  rank = "N",
  league_id = "00",
  last_n_games = 0,
  month = 0,
  opponent_team_id = 0,
  period = 0,
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  game_segment = "",
  location = "",
  outcome = "",
  season_segment = "",
  shot_clock_range = "",
  vs_conference = "",
  vs_division = "",
  ...
)

nba_teamgamestreakfinder(
  active_streaks_only = "",
  active_teams_only = "",
  btr_opp_ast = "",
  btr_opp_blk = "",
  btr_opp_dreb = "",
  btr_opp_fg3a = "",
  btr_opp_fg3m = "",
  btr_opp_fg3_pct = "",
  btr_opp_fga = "",
  btr_opp_fgm = "",
  btr_opp_fg_pct = "",
  btr_opp_fta = "",
  btr_opp_ftm = "",
  btr_opp_ft_pct = "",
  btr_opp_oreb = "",
  btr_opp_pf = "",
  btr_opp_pts = "",
  btr_opp_pts2nd_chance = "",
  btr_opp_pts_fb = "",
  btr_opp_pts_off_tov = "",
  btr_opp_pts_paint = "",
  btr_opp_reb = "",
  btr_opp_stl = "",
  btr_opp_tov = "",
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  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 = "",
  eq_opp_pts2nd_chance = "",
  eq_opp_pts_fb = "",
  eq_opp_pts_off_tov = "",
  eq_opp_pts_paint = "",
  et_oreb = "",
  et_pf = "",
  et_pts = "",
  eq_pts2nd_chance = "",
  eq_pts_fb = "",
  eq_pts_off_tov = "",
  eq_pts_paint = "",
  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_opp_ast = "",
  gt_opp_blk = "",
  gt_opp_dreb = "",
  gt_opp_fg3a = "",
  gt_opp_fg3m = "",
  gt_opp_fg3_pct = "",
  gt_opp_fga = "",
  gt_opp_fgm = "",
  gt_opp_fg_pct = "",
  gt_opp_fta = "",
  gt_opp_ftm = "",
  gt_opp_ft_pct = "",
  gt_opp_oreb = "",
  gt_opp_pf = "",
  gt_opp_pts = "",
  gt_opp_pts2nd_chance = "",
  gt_opp_pts_fb = "",
  gt_opp_pts_off_tov = "",
  gt_opp_pts_paint = "",
  gt_opp_reb = "",
  gt_opp_stl = "",
  gt_opp_tov = "",
  gt_oreb = "",
  gt_pf = "",
  gt_pts = "",
  gt_pts2nd_chance = "",
  gt_pts_fb = "",
  gt_pts_off_tov = "",
  gt_pts_paint = "",
  gt_reb = "",
  gt_stl = "",
  gt_td = "",
  gt_tov = "",
  lstreak = "",
  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_opp_ast = "",
  lt_opp_blk = "",
  lt_opp_dreb = "",
  lt_opp_fg3a = "",
  lt_opp_fg3m = "",
  lt_opp_fg3_pct = "",
  lt_opp_fga = "",
  lt_opp_fgm = "",
  lt_opp_fg_pct = "",
  lt_opp_fta = "",
  lt_opp_ftm = "",
  lt_opp_ft_pct = "",
  lt_opp_oreb = "",
  lt_opp_pf = "",
  lt_opp_pts = "",
  lt_opp_pts2nd_chance = "",
  lt_opp_pts_fb = "",
  lt_opp_pts_off_tov = "",
  lt_opp_pts_paint = "",
  lt_opp_reb = "",
  lt_opp_stl = "",
  lt_opp_tov = "",
  lt_oreb = "",
  lt_pf = "",
  lt_pts = "",
  lt_pts2nd_chance = "",
  lt_pts_fb = "",
  lt_pts_off_tov = "",
  lt_pts_paint = "",
  lt_reb = "",
  lt_stl = "",
  lt_td = "",
  lt_tov = "",
  min_games = "",
  outcome = "",
  po_round = "",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  vs_team_id = "",
  wstreak = "",
  wrs_opp_ast = "",
  wrs_opp_blk = "",
  wrs_opp_dreb = "",
  wrs_opp_fg3a = "",
  wrs_opp_fg3m = "",
  wrs_opp_fg3_pct = "",
  wrs_opp_fga = "",
  wrs_opp_fgm = "",
  wrs_opp_fg_pct = "",
  wrs_opp_fta = "",
  wrs_opp_ftm = "",
  wrs_opp_ft_pct = "",
  wrs_opp_oreb = "",
  wrs_opp_pf = "",
  wrs_opp_pts = "",
  wrs_opp_pts2nd_chance = "",
  wrs_opp_pts_fb = "",
  wrs_opp_pts_off_tov = "",
  wrs_opp_pts_paint = "",
  wrs_opp_reb = "",
  wrs_opp_stl = "",
  wrs_opp_tov = "",
  ...
)

Arguments

...

Additional arguments passed to an underlying function like httr.

team_id

team_id

league_id

league_id

season

season

season_type

season_type

date_from

date_from

date_to

date_to

game_segment

game_segment

last_n_games

last_n_games

location

location

measure_type

measure_type

month

month

opponent_team_id

opponent_team_id

outcome

outcome

po_round

po_round

per_mode

per_mode

period

period

player_id

Player ID

season_segment

season_segment

vs_conference

vs_conference

vs_division

vs_division

season_id

season_id

pace_adjust

pace_adjust

plus_minus

plus_minus

rank

rank

shot_clock_range

shot_clock_range

vs_player_id

vs_player_id

vs_team_id

Opponent Team ID to compare against

player_id1

Player ID 1 for team lineup

player_id2

Player ID 2 for team lineup

player_id3

Player ID 3 for team lineup

player_id4

Player ID 4 for team lineup

player_id5

Player ID 5 for team lineup

vs_player_id1

Opponent Player ID 1 for comparison lineup

vs_player_id2

Opponent Player ID 2 for comparison lineup

vs_player_id3

Opponent Player ID 3 for comparison lineup

vs_player_id4

Opponent Player ID 4 for comparison lineup

vs_player_id5

Opponent Player ID 5 for comparison lineup

conference

Conference filter - 'East', 'West', or ”

division

Division filter

active_streaks_only

active_streaks_only

active_teams_only

active_teams_only

btr_opp_ast

btr_opp_ast

btr_opp_blk

btr_opp_blk

btr_opp_dreb

btr_opp_dreb

btr_opp_fg3a

btr_opp_fg3a

btr_opp_fg3m

btr_opp_fg3m

btr_opp_fg3_pct

btr_opp_fg3_pct

btr_opp_fga

btr_opp_fga

btr_opp_fgm

btr_opp_fgm

btr_opp_fg_pct

btr_opp_fg_pct

btr_opp_fta

btr_opp_fta

btr_opp_ftm

btr_opp_ftm

btr_opp_ft_pct

btr_opp_ft_pct

btr_opp_oreb

btr_opp_oreb

btr_opp_pf

btr_opp_pf

btr_opp_pts

btr_opp_pts

btr_opp_pts2nd_chance

btr_opp_pts2nd_chance

btr_opp_pts_fb

btr_opp_pts_fb

btr_opp_pts_off_tov

btr_opp_pts_off_tov

btr_opp_pts_paint

btr_opp_pts_paint

btr_opp_reb

btr_opp_reb

btr_opp_stl

btr_opp_stl

btr_opp_tov

btr_opp_tov

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

eq_opp_pts2nd_chance

eq_opp_pts2nd_chance

eq_opp_pts_fb

eq_opp_pts_fb

eq_opp_pts_off_tov

eq_opp_pts_off_tov

eq_opp_pts_paint

eq_opp_pts_paint

et_oreb

et_oreb

et_pf

et_pf

et_pts

et_pts

eq_pts2nd_chance

eq_pts2nd_chance

eq_pts_fb

eq_pts_fb

eq_pts_off_tov

eq_pts_off_tov

eq_pts_paint

eq_pts_paint

et_reb

et_reb

et_stl

et_stl

et_td

et_td

et_tov

et_tov

game_id

game_id

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_opp_ast

gt_opp_ast

gt_opp_blk

gt_opp_blk

gt_opp_dreb

gt_opp_dreb

gt_opp_fg3a

gt_opp_fg3a

gt_opp_fg3m

gt_opp_fg3m

gt_opp_fg3_pct

gt_opp_fg3_pct

gt_opp_fga

gt_opp_fga

gt_opp_fgm

gt_opp_fgm

gt_opp_fg_pct

gt_opp_fg_pct

gt_opp_fta

gt_opp_fta

gt_opp_ftm

gt_opp_ftm

gt_opp_ft_pct

gt_opp_ft_pct

gt_opp_oreb

gt_opp_oreb

gt_opp_pf

gt_opp_pf

gt_opp_pts

gt_opp_pts

gt_opp_pts2nd_chance

gt_opp_pts2nd_chance

gt_opp_pts_fb

gt_opp_pts_fb

gt_opp_pts_off_tov

gt_opp_pts_off_tov

gt_opp_pts_paint

gt_opp_pts_paint

gt_opp_reb

gt_opp_reb

gt_opp_stl

gt_opp_stl

gt_opp_tov

gt_opp_tov

gt_oreb

gt_oreb

gt_pf

gt_pf

gt_pts

gt_pts

gt_pts2nd_chance

gt_pts2nd_chance

gt_pts_fb

gt_pts_fb

gt_pts_off_tov

gt_pts_off_tov

gt_pts_paint

gt_pts_paint

gt_reb

gt_reb

gt_stl

gt_stl

gt_td

gt_td

gt_tov

gt_tov

lstreak

lstreak

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_opp_ast

lt_opp_ast

lt_opp_blk

lt_opp_blk

lt_opp_dreb

lt_opp_dreb

lt_opp_fg3a

lt_opp_fg3a

lt_opp_fg3m

lt_opp_fg3m

lt_opp_fg3_pct

lt_opp_fg3_pct

lt_opp_fga

lt_opp_fga

lt_opp_fgm

lt_opp_fgm

lt_opp_fg_pct

lt_opp_fg_pct

lt_opp_fta

lt_opp_fta

lt_opp_ftm

lt_opp_ftm

lt_opp_ft_pct

lt_opp_ft_pct

lt_opp_oreb

lt_opp_oreb

lt_opp_pf

lt_opp_pf

lt_opp_pts

lt_opp_pts

lt_opp_pts2nd_chance

lt_opp_pts2nd_chance

lt_opp_pts_fb

lt_opp_pts_fb

lt_opp_pts_off_tov

lt_opp_pts_off_tov

lt_opp_pts_paint

lt_opp_pts_paint

lt_opp_reb

lt_opp_reb

lt_opp_stl

lt_opp_stl

lt_opp_tov

lt_opp_tov

lt_oreb

lt_oreb

lt_pf

lt_pf

lt_pts

lt_pts

lt_pts2nd_chance

lt_pts2nd_chance

lt_pts_fb

lt_pts_fb

lt_pts_off_tov

lt_pts_off_tov

lt_pts_paint

lt_pts_paint

lt_reb

lt_reb

lt_stl

lt_stl

lt_td

lt_td

lt_tov

lt_tov

min_games

min_games

wstreak

wstreak

wrs_opp_ast

wrs_opp_ast

wrs_opp_blk

wrs_opp_blk

wrs_opp_dreb

wrs_opp_dreb

wrs_opp_fg3a

wrs_opp_fg3a

wrs_opp_fg3m

wrs_opp_fg3m

wrs_opp_fg3_pct

wrs_opp_fg3_pct

wrs_opp_fga

wrs_opp_fga

wrs_opp_fgm

wrs_opp_fgm

wrs_opp_fg_pct

wrs_opp_fg_pct

wrs_opp_fta

wrs_opp_fta

wrs_opp_ftm

wrs_opp_ftm

wrs_opp_ft_pct

wrs_opp_ft_pct

wrs_opp_oreb

wrs_opp_oreb

wrs_opp_pf

wrs_opp_pf

wrs_opp_pts

wrs_opp_pts

wrs_opp_pts2nd_chance

wrs_opp_pts2nd_chance

wrs_opp_pts_fb

wrs_opp_pts_fb

wrs_opp_pts_off_tov

wrs_opp_pts_off_tov

wrs_opp_pts_paint

wrs_opp_pts_paint

wrs_opp_reb

wrs_opp_reb

wrs_opp_stl

wrs_opp_stl

wrs_opp_tov

wrs_opp_tov

Value

Return a data frame with the following columns:

col_nametypesdescription
league_idcharacterLeague identifier ('10' = WNBA).
season_idcharacterUnique season identifier.
team_idcharacterUnique team identifier.
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
conferencecharacterConference.
divisioncharacterTeam division.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_name_fullcharacterTeam name full.
seasoncharacterSeason identifier (4-digit year or 'YYYY-YY' string).
espn_team_idintegerUnique identifier for espn team.
abbreviationcharacterShort abbreviation.
display_namecharacterDisplay name.
mascotcharacterTeam mascot.
nicknamecharacterTeam or athlete nickname.
teamcharacterTeam-side label or team identifier.
colorcharacterPrimary color (hex without leading '#').
alternate_colorcharacterAlternate color (hex without leading '#').
logocharacterTeam or league logo URL.
logo_darkcharacterLogo dark.
logos_href_3characterLogos href 3.
logos_href_4characterLogos href 4.
nba_logo_svgcharacterNba logo svg.

Return a named list of data frames: TeamAwardsChampionships, TeamAwardsConf, TeamAwardsDiv, TeamBackground, TeamHistory, TeamHof, TeamRetired, TeamSocialSites

TeamBackground

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
ABBREVIATIONcharacterShort abbreviation.
NICKNAMEcharacterTeam or athlete nickname.
YEARFOUNDEDcharacter
CITYcharacterCity.
ARENAcharacterArena.
ARENACAPACITYcharacter
OWNERcharacter
GENERALMANAGERcharacter
HEADCOACHcharacter
DLEAGUEAFFILIATIONcharacter

TeamHistory

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
CITYcharacterCity.
NICKNAMEcharacterTeam or athlete nickname.
YEARFOUNDEDcharacter
YEARACTIVETILLcharacter

TeamSocialSites

col_nametypesdescription
ACCOUNTTYPEcharacter
WEBSITE_LINKcharacter

TeamAwardsChampionships

col_nametypesdescription
YEARAWARDEDcharacter
OPPOSITETEAMcharacter

TeamAwardsConf

col_nametypesdescription
YEARAWARDEDinteger
OPPOSITETEAMinteger

TeamAwardsDiv

Same columns as the TeamAwardsConf table above.

TeamHof

col_nametypesdescription
PLAYERIDcharacterPlayerid.
PLAYERcharacterPlayer.
POSITIONcharacterListed roster position (G, F, C, etc.).
JERSEYcharacterJersey number worn by the player.
SEASONSWITHTEAMcharacter
YEARcharacter4-digit year.

TeamRetired

Same columns as the TeamHof table above.

Return a named list of data frames: TeamEstimatedMetrics

TeamEstimatedMetrics

col_nametypesdescription
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_IDcharacterUnique team identifier.
GPcharacterGames played.
WcharacterWins.
LcharacterLosses.
W_PCTcharacter
MINcharacterMinutes played.
E_OFF_RATINGcharacter
E_DEF_RATINGcharacter
E_NET_RATINGcharacter
E_PACEcharacter
E_AST_RATIOcharacter
E_OREB_PCTcharacter
E_DREB_PCTcharacter
E_REB_PCTcharacter
E_TM_TOV_PCTcharacter
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_TM_TOV_PCT_RANKcharacter
E_PACE_RANKcharacter

Return a named list of data frames: TeamGameLog

TeamGameLog

col_nametypesdescription
Team_IDcharacterUnique team identifier.
Game_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
MATCHUPcharacterMatchup.
WLcharacterWl.
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.
STLcharacterSteals.
BLKcharacterBlocks.
TOVcharacterTurnovers.
PFcharacterPersonal fouls.
PTScharacterPoints scored.

Return a named list of data frames: TeamGameLogs

TeamGameLogs

col_nametypesdescription
SEASON_YEARcharacterSeason year string ('YYYY-YY' format).
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.
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

Return a named list of data frames: CareerLeadersByTeam

CareerLeadersByTeam

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
PTScharacterPoints scored.
PTS_PERSON_IDcharacter
PTS_PLAYERcharacter
ASTcharacterAssists.
AST_PERSON_IDcharacter
AST_PLAYERcharacter
REBcharacterTotal rebounds.
REB_PERSON_IDcharacter
REB_PLAYERcharacter
BLKcharacterBlocks.
BLK_PERSON_IDcharacter
BLK_PLAYERcharacter
STLcharacterSteals.
STL_PERSON_IDcharacter
STL_PLAYERcharacter
SEASON_YEARcharacterSeason year string ('YYYY-YY' format).

Return a named list of data frames: AvailableSeasons, TeamInfoCommon, TeamSeasonRanks

TeamInfoCommon

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
SEASON_YEARcharacterSeason year string ('YYYY-YY' format).
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').
TEAM_CONFERENCEcharacter
TEAM_DIVISIONcharacter
TEAM_CODEcharacter
TEAM_SLUGcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
WcharacterWins.
LcharacterLosses.
PCTcharacterPct.
CONF_RANKcharacter
DIV_RANKcharacter
MIN_YEARcharacter
MAX_YEARcharacter

TeamSeasonRanks

col_nametypesdescription
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
SEASON_IDcharacterUnique season identifier.
TEAM_IDcharacterUnique team identifier.
PTS_RANKcharacter
PTS_PGcharacter
REB_RANKcharacter
REB_PGcharacter
AST_RANKcharacter
AST_PGcharacter
OPP_PTS_RANKcharacter
OPP_PTS_PGcharacter

AvailableSeasons

col_nametypesdescription
SEASON_IDcharacterUnique season identifier.

Return a named list of data frames: OverallTeamPlayerOnOffDetails, PlayersOffCourtTeamPlayerOnOffDetails, PlayersOnCourtTeamPlayerOnOffDetails

OverallTeamPlayerOnOffDetails

Columns as documented in the shared nba_teamplayeronoffdetails_overallteamplayeronoffdetails_schema table.

PlayersOnCourtTeamPlayerOnOffDetails

Columns as documented in the shared nba_leagueplayerondetails_playersoncourtleagueplayerdetails_schema table.

PlayersOffCourtTeamPlayerOnOffDetails

Columns as documented in the shared nba_leagueplayerondetails_playersoncourtleagueplayerdetails_schema table.

Return a named list of data frames: OverallTeamPlayerOnOffSummary, PlayersOffCourtTeamPlayerOnOffSummary, PlayersOnCourtTeamPlayerOnOffSummary

OverallTeamPlayerOnOffSummary

Columns as documented in the shared nba_teamplayeronoffdetails_overallteamplayeronoffdetails_schema table.

PlayersOnCourtTeamPlayerOnOffSummary

col_nametypesdescription
GROUP_SETcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
VS_PLAYER_IDcharacter
VS_PLAYER_NAMEcharacter
COURT_STATUScharacter
GPcharacterGames played.
MINcharacterMinutes played.
PLUS_MINUScharacterPlus/minus point differential while on court.
OFF_RATINGcharacterOffensive rating (points produced per 100 possessions).
DEF_RATINGcharacterDefensive rating (points allowed per 100 possessions).
NET_RATINGcharacterNet rating (off rating - def rating).

PlayersOffCourtTeamPlayerOnOffSummary

Same columns as the PlayersOnCourtTeamPlayerOnOffSummary table above.

Return a named list of data frames: PlayersSeasonTotals, TeamOverall

TeamOverall

col_nametypesdescription
GROUP_SETcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
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.
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

PlayersSeasonTotals

col_nametypesdescription
GROUP_SETcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
NICKNAMEcharacterTeam or athlete nickname.
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
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

Return a named list of data frames: TeamStats

TeamStats

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
YEARcharacter4-digit year.
GPcharacterGames played.
WINScharacterTotal wins.
LOSSEScharacterTotal losses.
WIN_PCTcharacter
CONF_RANKcharacter
DIV_RANKcharacter
PO_WINScharacter
PO_LOSSEScharacter
CONF_COUNTcharacter
DIV_COUNTcharacter
NBA_FINALS_APPEARANCEcharacter
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.
PFcharacterPersonal fouls.
STLcharacterSteals.
TOVcharacterTurnovers.
BLKcharacterBlocks.
PTScharacterPoints scored.
PTS_RANKcharacter

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

Overall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
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.
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

vsPlayerOverall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
PLAYER_IDcharacterUnique player identifier.
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
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

OnOffCourt

Columns as documented in the shared nba_leagueplayerondetails_playersoncourtleagueplayerdetails_schema table.

ShotDistanceOverall

col_nametypesdescription
GROUP_SETcharacter
GROUP_VALUEcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).

ShotDistanceOnCourt

col_nametypesdescription
GROUP_SETcharacter
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
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.

Returns a named list of data frames: PlayersVsPlayers, TeamPlayersVsPlayersOff, TeamPlayersVsPlayersOn, TeamVsPlayers, TeamVsPlayersOff

PlayersVsPlayers

col_nametypesdescription
GROUP_SETcharacter
TITLE_DESCRIPTIONcharacter
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.

TeamPlayersVsPlayersOn

col_nametypesdescription
GROUP_SETcharacter
TITLE_DESCRIPTIONcharacter
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
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.

TeamPlayersVsPlayersOff

Same columns as the TeamPlayersVsPlayersOn table above.

TeamVsPlayers

Same columns as the PlayersVsPlayers table above.

TeamVsPlayersOff

Same columns as the PlayersVsPlayers table above.

Return a named list of data frames: TeamGameStreakFinderParametersResults

TeamGameStreakFinderParametersResults

col_nametypesdescription
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_IDcharacterUnique team identifier.
GAMESTREAKcharacter
STARTDATEcharacter
ENDDATEcharacter
ACTIVESTREAKcharacter
NUMSEASONScharacter
LASTSEASONcharacter
FIRSTSEASONcharacter
ABBREVIATIONcharacterShort abbreviation.

Details

 nba_teamdetails(team_id = '1610612749')

Team Estimated Metrics

Teams Game Log

 nba_teamgamelog(team_id = '1610612749')

Teams Game Log

 nba_teamgamelogs(team_id = '1610612749')

 nba_teamhistoricalleaders(team_id = '1610612749')

 nba_teaminfocommon(team_id = '1610612749')

 nba_teamplayeronoffdetails(team_id = '1610612749')

 nba_teamplayeronoffsummary(team_id = '1610612749')

 nba_teamplayerdashboard(team_id = '1610612749')

Team Year by Year Stats

 nba_teamyearbyyearstats(team_id = '1610612749')

 nba_teamvsplayer(team_id = '1610612749', vs_player_id = '2544')

 nba_teamandplayersvsplayers(
   team_id = '1610612739',
   vs_team_id = '1610612765',
   player_id1 = '202681', player_id2 = '203078',
   player_id3 = '203507', player_id4 = '201567',
   player_id5 = '203954',
   vs_player_id1 = '201566', vs_player_id2 = '201939',
   vs_player_id3 = '201935', vs_player_id4 = '201142',
   vs_player_id5 = '203076',
   season = '2019-20')

See also

Other NBA Team Functions: nba_leaguedashoppptshot(), nba_teamdashboardbyclutch()

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

Author

Saiem Gilani