Description Usage Arguments Value Examples
View source: R/scrapePlayersQH.R
This is a one-command function to scrape and clean all player data available from Quanthockey.com. This takes many hours. Also saves results to a dated .RDS file.
1 | scrapePlayers.QH(player_list, directory = "./data/players/", ...)
|
player_list |
A player list of the type type created by |
directory |
Directory to store data |
... |
Additional parameters to pass |
a list of three cleaned data.frames, containing
PlayerStats |
Combined player statistics |
GoalieStats |
Combined goalie statistics |
PlayerMeta |
Meta statistics for all (goalies and players) |
1 2 | ## Not run: scrapePlayers.QH()
## Not run: scrapePlayers.QH(sleep=15, long_sleep=180, group_by=500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.