Description Usage Arguments Value Examples
Takes a vector of numerical value match ID's of dota2 replays, and attempts to fetch them from the opendota API only parsed matches are output.
1 |
game_vec |
Numeric vector of match ID's |
wait_time |
how long to wait (in seconds) between each API call, default is 1 sec (opendota asks you not to send more than 1 call per second) |
output |
Defaulted to "all", which will extract entire JSON, if not all, it should have the path to an R file that will be sourced and create some output, not the R file must also output to output_list() |
verbose |
Give live information on status of parsing, if FALSE no text is output to console. |
Returns a list of objects, if output == "all" it's a list of JSON outputs.
1 2 3 4 5 6 7 8 | ## Not run:
match_ids <- get_game_list(num_matches = 100,
from_time = "20170101",
to_time = "20170423",
min_mmr = 4000)
get_games(match_ids)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.