R/get_player_stats_hr.R
get_player_stats_hr.Rd
Get player counting stats from hockey-reference.com
get_player_stats_hr(player_name, season = "career", league = "NHL")
A player name or vector of player names
An integer value denoting the end year of the season(s) to scrape
The league stats to scrape, either 'NHL' or 'WHA'
A tibble containing goals, assists, and various other stats for the specified player(s) from hockey-reference.com
if (FALSE) {
#' get_player_stats("Wayne Gretzky")
get_player_stats_hr(c("Wayne Gretzky","Mario Lemieux"))
}