nba_shotchartleaguewide: *Get NBA Stats API Shot Chart League-Wide*

View source: R/nba_stats_shotchart.R

nba_shotchartleaguewideR Documentation

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

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.

Details

 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_name types
GRID_TYPE character
SHOT_ZONE_BASIC character
SHOT_ZONE_AREA character
SHOT_ZONE_RANGE character
FGA character
FGM character
FG_PCT character

Author(s)

Saiem Gilani

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_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_leaguestandingsv3(), nba_leaguestandings(), nba_matchupsrollup(), nba_playoffpicture()


hoopR documentation built on Nov. 26, 2023, 1:07 a.m.