Description Usage Arguments Value
scrape_player_profile() collects and parses the data for a player corresponsing to a given player ID.
1 2 | ds.scrape_player_profile(player_id, try_tolerance = 3,
agents = hockeyR::ds.get_user_agents()[sample(1:4, size = 1)])
|
player_id |
the player ID to get |
try_tolerance |
the number of tries before moving on. |
agents |
a useragent, selected from the list of useragents. |
data frame of player info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.