Description Usage Arguments Value
a utility function that looks for newly added players from one of the fantasy providers
1 2 | scrape_new_ids(id_type = "mlb", exclude_known = TRUE, verbose = TRUE,
expand_range = 500, backtrack_range = -500)
|
id_type |
c('mlb', 'yahoo') |
exclude_known |
should we ignore the players who have already have records? default is TRUE. |
verbose |
output current player name to the console. default is TRUE |
expand_range |
at the close, we'll expand the number of ids to check by some fixed number, to make sure that we are looking high enough to get new ones. default is 200. |
writes data to data-raw/whatever.csv. returns 'OK' if function completes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.