nba_leaguedashoppptshot: *Get NBA Stats API League Dashboard Player Tracking -...

View source: R/nba_stats_league_dash.R

nba_leaguedashoppptshotR Documentation

Get NBA Stats API League Dashboard Player Tracking - Opponent Shots

Description

Get NBA Stats API League Dashboard Player Tracking - Opponent Shots

Get NBA Stats API League Dashboard Player Tracking - Opponent Shots

Usage

nba_leaguedashoppptshot(
  close_def_dist_range = "",
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  dribble_range = "",
  game_segment = "",
  general_range = "",
  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,
  plus_minus = "N",
  rank = "Y",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  shot_dist_range = "",
  team_id = "",
  touch_time_range = "",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

close_def_dist_range

close_def_dist_range

conference

conference

date_from

date_from

date_to

date_to

division

division

dribble_range

dribble_range

game_segment

game_segment

general_range

general_range

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

plus_minus

plus_minus

rank

rank

season

season

season_segment

season_segment

season_type

season_type

shot_clock_range

shot_clock_range

shot_dist_range

shot_dist_range

team_id

team_id

touch_time_range

touch_time_range

vs_conference

vs_conference

vs_division

vs_division

...

Additional arguments passed to an underlying function like httr.

Details

Opponent Shots - General

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

Value

Returns a named list of data frames: LeagueDashPTShots

LeagueDashPTShots

col_name types
TEAM_ID character
TEAM_NAME character
TEAM_ABBREVIATION character
GP character
G character
FGA_FREQUENCY character
FGM character
FGA character
FG_PCT character
EFG_PCT character
FG2A_FREQUENCY character
FG2M character
FG2A character
FG2_PCT character
FG3A_FREQUENCY character
FG3M character
FG3A character
FG3_PCT character

Author(s)

Saiem Gilani

See Also

Other NBA League Functions: nba_leaguedashlineups(), 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(), nba_shotchartleaguewide()

Other NBA Player Tracking Functions: nba_boxscoreplayertrackv2(), nba_leaguedashplayerptshot(), nba_leaguedashptdefend(), nba_leaguedashptstats(), nba_leaguedashptteamdefend(), nba_leaguedashteamptshot(), nba_playerdashptpass(), nba_playerdashptreb(), nba_playerdashptshotdefend(), nba_playerdashptshots(), nba_synergyplaytypes(), nba_teamdashptpass(), nba_teamdashptreb(), nba_teamdashptshots()


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