scheduler: Schedules wunderscraper

Description Usage Arguments Details Value See Also Examples

View source: R/scheduler.R

Description

Schedule sampling and ensure wunderscraper remains within API usage limits.

Usage

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

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.

Value

Returns a scheduler object.

See Also

plan.scheduler, sync.scheduler

Examples

1
scheduler(plan='drizzle')

cmarmstrong/wunderscraper documentation built on July 17, 2019, 8:19 p.m.