alma_events {almanac}R Documentation

Get all events

Description

alma_events() retrieves all of the events in the rschedule's event set.

Usage

alma_events(rschedule)

Arguments

rschedule

[rschedule]

An rschedule, such as an rrule or rbundle.

Value

A Date vector of events.

Examples

rrule <- daily(since = "1970-01-01", until = "1970-01-05")

alma_events(rrule)

rrule_weekly <- weekly(since = "1970-01-01") %>%
  recur_for_count(5)

rb <- runion() %>%
  add_rschedule(rrule) %>%
  add_rschedule(rrule_weekly)

alma_events(rb)

[Package almanac version 0.1.1 Index]