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

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)
#> [1] "1970-01-01" "1970-01-02" "1970-01-03" "1970-01-04" "1970-01-05"
rrule_weekly <- weekly(since = "1970-01-01") %>% recur_for_count(5) rb <- runion() %>% add_rschedule(rrule) %>% add_rschedule(rrule_weekly) alma_events(rb)
#> [1] "1970-01-01" "1970-01-02" "1970-01-03" "1970-01-04" "1970-01-05" #> [6] "1970-01-08" "1970-01-15" "1970-01-22" "1970-01-29"