Skip to contents

Get NBA Stats API Synergy Play Type Stats

Get NBA Stats API Synergy Play Type Stats

Usage

nba_synergyplaytypes(
  league_id = "00",
  per_mode = "PerGame",
  play_type = "Isolation",
  player_or_team = "P",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  type_grouping = "Offensive",
  ...
)

Arguments

league_id

league_id

per_mode

per_mode

play_type

play_type - 'Isolation', 'Transition', 'PRBallHandler', 'PRRollman', 'Postup', 'Spotup', 'Handoff', 'Cut', 'OffScreen', 'OffRebound', 'Misc'

player_or_team

player_or_team ('P' or 'T')

season

season

season_type

season_type

type_grouping

type_grouping - Offensive, Defensive

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: SynergyPlayType

Column schemas omitted from help to keep the package under the CRAN 5 MB installed-size limit. See the package source at tools/docs/nba_playerdashboard_columns.md for full column tables.

Author

Saiem Gilani