View source: R/get_player_stats_hr.R
get_player_stats_hr | R Documentation |
Get player counting stats from hockey-reference.com
get_player_stats_hr(player_name, season = "career", league = "NHL")
player_name |
A player name or vector of player names |
season |
An integer value denoting the end year of the season(s) to scrape |
league |
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
## Not run: #' get_player_stats("Wayne Gretzky") get_player_stats_hr(c("Wayne Gretzky","Mario Lemieux")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.