get_player_stats_hr: Get player counting stats from hockey-reference.com

View source: R/get_player_stats_hr.R

get_player_stats_hrR Documentation

Get player counting stats from hockey-reference.com

Description

Get player counting stats from hockey-reference.com

Usage

get_player_stats_hr(player_name, season = "career", league = "NHL")

Arguments

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'

Value

A tibble containing goals, assists, and various other stats for the specified player(s) from hockey-reference.com

Examples

## Not run: 
#' get_player_stats("Wayne Gretzky")
get_player_stats_hr(c("Wayne Gretzky","Mario Lemieux"))

## End(Not run)

hockeyR documentation built on Oct. 12, 2022, 5:07 p.m.