Learn R Programming

hoopR (version 3.0.0)

nba_shotchartleaguewide: Get NBA Stats API Shot Chart League-Wide

Description

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),
  ...
)

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

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.

Author

Saiem Gilani

Details

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

See Also

Other NBA Shooting Functions: nba_leaguedashplayershotlocations(), nba_leaguedashteamptshot(), nba_leaguedashteamshotlocations(), nba_playerdashboardbyshootingsplits(), nba_shotchartdetail(), nba_shotchartlineupdetail(), nba_teamdashboardbyshootingsplits()

Other NBA League Functions: nba_iststandings(), nba_leaguedashlineups(), nba_leaguedashoppptshot(), nba_leaguedashplayerbiostats(), nba_leaguedashplayerclutch(), nba_leaguedashplayerptshot(), nba_leaguedashplayershotlocations(), nba_leaguedashplayerstats(), nba_leaguedashptdefend(), nba_leaguedashptstats(), nba_leaguedashptteamdefend(), nba_leaguedashteamclutch(), nba_leaguedashteamptshot(), nba_leaguedashteamshotlocations(), nba_leaguedashteamstats(), nba_leaguegamefinder(), nba_leaguegamelog(), nba_leaguelineupviz(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_leaguestandings(), nba_leaguestandingsv3(), nba_matchupsrollup(), nba_playoffpicture()