scrapeIndivStats: Scrape Individual Player Statistics

View source: R/scrapeIndivStats.R

scrapeIndivStatsR Documentation

Scrape Individual Player Statistics

Description

Webscrape (using rvest) all individual player statistics for the current season

Usage

scrapeIndivStats(
  games = "all",
  players = "goalies",
  gender = "women",
  verbose = TRUE
)

Arguments

games

collecting data for 'all' (default), 'conference', or 'nonconference' games. Currently no support for 'nonconference' games

players

type of players stats to collect, 'goalies' (default) or 'skaters'

gender

'women' (default) or 'men'

verbose

TRUE (default) for intermediate data scraping output messages, FALSE for no additional output

Value

data frame of individual player statistics for all ECAC teams

Examples

scrapeIndivStats(verbose=FALSE)
scrapeIndivStats(games="conference", players="skaters", gender="men", verbose=FALSE)

CharlesReinhardt/ecacr documentation built on May 14, 2022, 2:24 a.m.