get_skater_leaders | R Documentation |
get_skater_leaders()
retrieves information on each skater for a given set of season
, game_type
, and category
, including but not limited to their ID, name, and statistics. Access get_seasons()
for season
reference.
get_skater_leaders(
season = get_season_now()$seasonId,
game_type = 2,
category = "points"
)
season |
integer in YYYYYYYY |
game_type |
integer where 2=regular and 3=playoffs |
category |
string of 'assists', 'goals', 'goalsSh', 'goalsPp', 'points', 'penaltyMins', 'toi', 'plusMinus', or 'faceoffLeaders' |
tibble with one row per skater
playoff_toi_leaders_20242025 <- get_skater_leaders(
season=20242025,
game_type=3,
category='toi'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.