
Access the skater statistics leaders for a season, game type, and category
Source:R/Skater.R
skater_leaders.Rdskater_leaders() scrapes the skater statistics leaders for a given set of
season, game_type, and category.
Arguments
- season
integer in YYYYYYYY (e.g., 20242025); see
seasons()for reference- 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
seasons()for reference; most functions will NOT support pre-season- 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'