Skip to contents

Get NBA Stats API Franchise Players

Get NBA Stats API Franchise Players

Usage

nba_franchiseplayers(
  league_id = "00",
  per_mode = "Totals",
  season_type = "Regular Season",
  team_id = "1610612739",
  ...
)

Arguments

league_id

league_id

per_mode

per_mode

season_type

season_type

team_id

team_id

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: FranchisePlayers

FranchisePlayers

col_nametypesdescription
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
TEAM_IDcharacterUnique team identifier.
TEAMcharacterTeam-side label or team identifier.
PERSON_IDcharacterUnique player identifier (V3 endpoints).
PLAYERcharacterPlayer.
SEASON_TYPEcharacterSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
ACTIVE_WITH_TEAMcharacter
GPcharacterGames 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.
PFcharacterPersonal fouls.
STLcharacterSteals.
TOVcharacterTurnovers.
BLKcharacterBlocks.
PTScharacterPoints scored.

Details

Franchise Players

 nba_franchiseplayers(league_id = '00', team_id = '1610612739')
 nba_franchiseplayers(league_id = '00', season_type = 'Playoffs', team_id = '1610612739')

Author

Saiem Gilani