Schedule sampling and ensure wunderscraper remains within API usage limits.
scheduler(plan = "developer", day = NA, minute = NA)
API usage plan. Possible values are "developer" (500 calls a day
10 calls a minute, "drizzle" (5000 calls a day 100 calls a minute) "shower"
(100000 calls a day 1000 a minute), or "custom" (see parameters day
and minute
).
Custom daily API usage limit.
Custom minute API usage limit.
Returns a scheduler object.
Scheduler is a constructor function that returns a scheduler object for use in a wunderscrape process.
Scheduler has methods for managing the schedule: plan
, and
sync
.
# NOT RUN {
scheduler(plan='drizzle')
# }
Run the code above in your browser using DataLab