Skip to contents

Get NBA Stats API Shot Chart League-Wide

Get NBA Stats API Shot Chart League-Wide

Usage

nba_shotchartleaguewide(
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  ...
)

Arguments

league_id

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

season

season

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: League_Wide

League_Wide

col_nametypes
GRID_TYPEcharacter
SHOT_ZONE_BASICcharacter
SHOT_ZONE_AREAcharacter
SHOT_ZONE_RANGEcharacter
FGAcharacter
FGMcharacter
FG_PCTcharacter

Details

Author

Saiem Gilani