wunderscraper (version 0.1.0)

scheduler: Schedules wunderscraper

Description

Schedule sampling and ensure wunderscraper remains within API usage limits.

Usage

scheduler(plan = "developer", day = NA, minute = NA)

Arguments

plan

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).

day

Custom daily API usage limit.

minute

Custom minute API usage limit.

Value

Returns a scheduler object.

Details

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.

See Also

plan.scheduler, sync.scheduler

Examples

Run this code
# NOT RUN {
scheduler(plan='drizzle')
# }

Run the code above in your browser using DataLab