| alma_search {almanac} | R Documentation |
Search for events
Description
alma_search() retrieves all events between from and to.
Usage
alma_search(from, to, rschedule, inclusive = TRUE)
Arguments
from, to |
Dates defining the range to look for events. |
rschedule |
An rschedule, such as an rrule, runion, rintersect, or rsetdiff. |
inclusive |
If |
Value
A Date vector of all events between from and to.
Examples
on_12th <- monthly() %>% recur_on_day_of_month(12)
on_monday <- weekly() %>% recur_on_day_of_week("Monday")
# On the 12th of the month, or on Mondays
rb <- runion(on_12th, on_monday)
alma_search("2019-01-01", "2019-01-31", rb)
[Package almanac version 1.0.0 Index]