Skip to contents

Get NBA Stats API League Lineup Visual Data

Get NBA Stats API League Lineup Visual Data

Usage

nba_leaguelineupviz(
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  game_segment = "",
  group_quantity = 5,
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  minutes_min = 10,
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  po_round = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  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 = "",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

conference

conference

date_from

date_from

date_to

date_to

division

division

game_segment

game_segment

group_quantity

group_quantity

last_n_games

last_n_games

league_id

league_id

location

location

measure_type

measure_type

minutes_min

minutes_min

month

month

opponent_team_id

opponent_team_id

outcome

outcome

po_round

po_round

pace_adjust

pace_adjust

per_mode

per_mode

period

period

plus_minus

plus_minus

rank

rank

season

season

season_segment

season_segment

season_type

season_type

shot_clock_range

shot_clock_range

team_id

team_id

vs_conference

vs_conference

vs_division

vs_division

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: LeagueLineupViz

LeagueLineupViz

col_nametypes
GROUP_IDcharacter
GROUP_NAMEcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
MINcharacter
OFF_RATINGcharacter
DEF_RATINGcharacter
NET_RATINGcharacter
PACEcharacter
TS_PCTcharacter
FTA_RATEcharacter
TM_AST_PCTcharacter
PCT_FGA_2PTcharacter
PCT_FGA_3PTcharacter
PCT_PTS_2PT_MRcharacter
PCT_PTS_FBcharacter
PCT_PTS_FTcharacter
PCT_PTS_PAINTcharacter
PCT_AST_FGMcharacter
PCT_UAST_FGMcharacter
OPP_FG3_PCTcharacter
OPP_EFG_PCTcharacter
OPP_FTA_RATEcharacter
OPP_TOV_PCTcharacter

Details

Lineups Dashboard

 nba_leaguelineupviz(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))

Author

Saiem Gilani