Description Usage Arguments Value
View source: R/scrapePlayersQH.R
Scrape players by Alphabet A function to scrape and save player tables by last name, breaking up the scraping into each chunk to prevent progress loss by scraping error (HTML error)
1 2 3 | scrapeByNumber(player_list, group_by = 1000, long_sleep = 120,
combine = TRUE, directory = "./data/players/", start_at = 1,
save_player_list = TRUE, ...)
|
player_list |
a player list (data.frame) of the type created by |
group_by |
The group size to scrape. Default 1000 |
long_sleep |
The length of time to sleep between groups |
combine |
Whether to combine all player data.frames (groups) after downloading |
directory |
Where to store data files |
start_at |
The playernumber to start at. Default = 1 |
save_player_list |
Whether to save the player list |
... |
Additional params for getPlayerStats |
True, if successful
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.