Description Usage Arguments Value
View source: R/scrapePlayersHR.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 | scrapeByAlphabet.HR(player_list, letters_to_scrape = letters,
long_sleep = 120, combine = TRUE, directory = "./data/players/",
...)
|
player_list |
a player list (data.frame) of the type created by |
letters_to_scrape |
the letters of last names to scrape (default all letters) |
long_sleep |
The length of time to sleep between letters |
combine |
Whether to combine all player data.frames (a-z) after downloading |
directory |
Where to store data files |
... |
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.