wunderscraper (version 0.1.0)

plan: Plan a schedule for executing a task

Description

Sets a schedule using strptime

Usage

plan(scheduler, ...)

# S3 method for scheduler plan(scheduler, ...)

Arguments

scheduler

A scheduler object.

...

Arguments passed to seq.POSIXt.

Value

The schedule

Methods (by class)

  • scheduler: convenience wrapper around seq.POSIXt.

See Also

strptime, seq.POSIXt

Examples

Run this code
# NOT RUN {
plan(scheduler(), '1 hour') # sample every hour
plan(scheduler(), '30 min') # sample every 30 minutes
# }

Run the code above in your browser using DataCamp Workspace