Get Synergy data for specified result type, category, season type and set
synergy( seasons = 2016:2018, result_types = c("player", "team"), season_types = c("Regular Season"), set_types = c("offensive", "defensive"), categories = c("Transition", "Isolation", "PRBallHandler", "PRRollman", "Postup", "Spotup", "Handoff", "Cut", "OffScreen", "OffRebound", "Misc"), results = 500, assign_to_environment = TRUE, return_wide = F, nest_data = F, return_message = TRUE )
seasons | vector of seasons from 2016 onward |
---|---|
result_types | result type
|
season_types | type of season play
|
set_types | set type
|
categories | vector of synergy categories options include:
|
results | number of results |
assign_to_environment | if |
return_wide | if |
return_message |
a tibble
synergy(seasons = 2019, result_types = c("player", "team"), season_types = c("Regular Season"), set_types = c("offensive", "defensive"), categories = c("Transition", "Isolation", "PRBallHandler", "PRRollman", "Postup", "Spotup", "Handoff", "Cut", "OffScreen", "OffRebound", "Misc"), results = 500, assign_to_environment = TRUE, return_wide = F, return_message = TRUE)