scrapeIndivStatsByTeam: Scrape Individual Player Statistics For One Team

View source: R/scrapeIndivStatsByTeam.R

scrapeIndivStatsByTeamR Documentation

Scrape Individual Player Statistics For One Team

Description

Webscrape (using rvest) all individual player statistics of a given team for the current season

Usage

scrapeIndivStatsByTeam(
  team,
  games = "all",
  players = "goalies",
  gender = "women"
)

Arguments

team

ECAC team to scrape data for

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'

Value

data frame of individual player statistics for one ECAC team

Examples

scrapeIndivStatsByTeam(team="brown")
scrapeIndivStatsByTeam(team="clarkson", games="conference", players="skaters", gender="men")

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