A thin wrapper around the pbpstats API’s “get-assist-networks” endpoint.
Usage
get_assist_networks(
league = "nba",
season,
season_type = "Regular Season",
entity_type,
entity_id,
game_id = NULL
)Arguments
- league
Character. Which league to query; e.g.,
"nba"or"wnba"; defaults to"nba".- season
Character or integer. The season to query; e.g.,
"2024-25"; required for full-season calls; set toNULLif usinggame_id.- season_type
Character. One of:
"Regular Season""Playoffs""PlayIn""All"
; defaults to
"Regular Season".- entity_type
Character. One of:
"Team""Lineup"
.
- entity_id
Integer or character. The pbpstats ID of the entity.
- game_id
Integer or character. The pbpstats ID of a specific game; if non-
NULL,seasonandseason_typeare ignored.
References
Darryl Blackport (2020). PBPStats API, MIT License. https://api.pbpstats.com/docs