| skater_leaders | R Documentation |
skater_leaders() scrapes the skater statistics leaders for a given set of
season, game_type, and category.
skater_leaders(season = "current", game_type = "", category = "points")
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 |
string of 'a'/'assists', 'g'/goals', 'shg'/'shorthanded goals', 'ppg'/'powerplay goals', 'p'/'points', 'pim'/penalty minutes'/'penalty infraction minutes', 'toi'/'time on ice', 'pm'/'plus minus', or 'f'/'faceoffs' |
data.frame with one row per player
TOI_leaders_regular_20242025 <- skater_leaders(
season = 20242025,
game_type = 2,
category = 'TOI'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.