View source: R/scrapeIndivStats.R
scrapeIndivStats | R Documentation |
Webscrape (using rvest) all individual player statistics for the current season
scrapeIndivStats( games = "all", players = "goalies", gender = "women", verbose = TRUE )
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 |
data frame of individual player statistics for all ECAC teams
scrapeIndivStats(verbose=FALSE) scrapeIndivStats(games="conference", players="skaters", gender="men", verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.