nba_leaguedashteamshotlocations: *Get NBA Stats API League Dashboard Team Shot Locations*

View source: R/nba_stats_league_dash.R

nba_leaguedashteamshotlocationsR Documentation

Get NBA Stats API League Dashboard Team Shot Locations

Description

Get NBA Stats API League Dashboard Team Shot Locations

Get NBA Stats API League Dashboard Team Shot Locations

Usage

nba_leaguedashteamshotlocations(
  conference = "",
  date_from = "",
  date_to = "",
  distance_range = "By Zone",
  division = "",
  game_scope = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  po_round = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_experience = "",
  player_position = "",
  plus_minus = "N",
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  starter_bench = "",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

conference

conference

date_from

date_from

date_to

date_to

distance_range

distance_range

division

division

game_scope

game_scope

game_segment

game_segment

last_n_games

last_n_games

league_id

league_id

location

location

measure_type

measure_type

month

month

opponent_team_id

opponent_team_id

outcome

outcome

po_round

po_round

pace_adjust

pace_adjust

per_mode

per_mode

period

period

player_experience

player_experience

player_position

player_position

plus_minus

plus_minus

rank

rank

season

season

season_segment

season_segment

season_type

season_type

shot_clock_range

shot_clock_range

starter_bench

starter_bench

team_id

team_id

vs_conference

vs_conference

vs_division

vs_division

...

Additional arguments passed to an underlying function like httr.

Details

Team Shooting by Shot Location

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

Value

Returns a named list of data frames: ShotLocations

ShotLocations

col_name types
TEAM_ID character
TEAM_NAME character
Restricted_Area_FGM character
Restricted_Area_FGA character
Restricted_Area_FG_PCT character
In_The_Paint_Non_RA_FGM character
In_The_Paint_Non_RA_FGA character
In_The_Paint_Non_RA_FG_PCT character
Mid_Range_FGM character
Mid_Range_FGA character
Mid_Range_FG_PCT character
Left_Corner_3_FGM character
Left_Corner_3_FGA character
Left_Corner_3_FG_PCT character
Right_Corner_3_FGM character
Right_Corner_3_FGA character
Right_Corner_3_FG_PCT character
Above_the_Break_3_FGM character
Above_the_Break_3_FGA character
Above_the_Break_3_FG_PCT character
Backcourt_FGM character
Backcourt_FGA character
Backcourt_FG_PCT character
Corner_3_FGM character
Corner_3_FGA character
Corner_3_FG_PCT character

Author(s)

Saiem Gilani

See Also

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_leaguedashteamstats(), nba_leaguegamefinder(), nba_leaguegamelog(), nba_leaguelineupviz(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_leaguestandingsv3(), nba_leaguestandings(), nba_matchupsrollup(), nba_playoffpicture(), nba_shotchartleaguewide()

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


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