A function to scrape all skater stats from a single season via hockey-reference.com

get_skater_stats_hr(season = as.numeric(format(Sys.Date() + 81, "%Y")))

Arguments

season

Integer value denoting the end year of the season to scrape

Value

A tibble containing all skater stats found on hockey-reference.com for the given season

Examples

if (FALSE) {
get_skater_stats_hr(2022)
}