| team_edge_shot_location | R Documentation |
team_edge_shot_location() scrapes the EDGE shot location statistics for
a given set of team, season, game_type, and category.
team_edge_shot_location(
team = 1,
season = "now",
game_type = "",
category = "details"
)
team |
integer ID (e.g., 21), character full name (e.g., 'Colorado
Avalanche'), OR three-letter code (e.g., 'COL'); see |
season |
integer in YYYYYYYY (e.g., 20242025); see
|
game_type |
integer in 1:3 (where 1 = pre-season, 2 = regular season, 3
= playoff/post-season) OR character of 'pre', 'regular', or
'playoff'/'post'; see |
category |
character of 'd'/details' or 't'/'totals' |
data.frame with one row per location (category = 'details') or combination of strength state and position (category = 'totals')
COL_shot_location_totals_regular_20242025 <- team_edge_shot_location(
team = 21,
season = 20242025,
game_type = 2,
category = 'T'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.