Skip to contents

Get NBA Stats API Assist Leaders

Get NBA Stats API Assist Leaders

Usage

nba_assistleaders(
  league_id = "00",
  per_mode = "PerGame",
  player_or_team = "Team",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

Arguments

league_id

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

per_mode

Per Mode - PerGame, Totals

player_or_team

Player or Team

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: AssistLeaders

AssistLeaders

col_nametypes
RANKcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_NAMEcharacter
ASTcharacter

Details

 nba_assistleaders(league_id = '00', player_or_team = "Player")
 nba_assistleaders(league_id = '00', player_or_team = "Team")

Author

Saiem Gilani