Ref_Goalie_Scraper: HockeyRef Player Scraper

Description Usage Arguments Value

View source: R/Ref_Goalie_Scraper.R

Description

Returns data from a player given their url.

Usage

1
2
Ref_Goalie_Scraper(website, ages = c(17, 50), Stats, Season = "R",
  sepTeam = F)

Arguments

website

the url of the goalie's webpage on hockey-reference.com.

ages

2-length vector for the age ranges desired. first number is lower-bound, second number is upper-bound.

Season

Determines if regular season data, playoff data, or both will be returned for all the players. 'R' for Regular Season, 'P' for Playoffs, 'RP' for both Regular Season and Playoffs

sepTeam

Boolean about whether you want rows for every team a goalie played on in the NHL in a give year, or if you just want the cumulative production combining the two teams.

goalieStats

vector of the wanted goalie stats. possible values: QS = quality starts metric GSAA = goals saved above average Scoring = goals/assists/points/etc. Awards - Awards with placement

Value

data frame (or list of data frames) with data the desired goalie.


palmerimatthew/HockeyRefScraper documentation built on Nov. 4, 2019, 11:18 p.m.