ic_list | R Documentation |
This function breaks-up the iCalendar object into a list.
By default it breaks it into events, where the number of events
is the number of BEGIN:VEVENT
event initiation lines
(assumes all events start and end with :VEVENT
),
as per the specification (see ic_spec()
).
ic_list(x, pattern = ":VEVENT", include_pattern = FALSE)
x |
Lines read-in in from an iCal file |
pattern |
A text string to search from (an ical field) |
include_pattern |
should the pattern be included
in the output? |
ic_list(ical_example)
ics_file <- system.file("extdata", "england-and-wales.ics", package = "ical")
x = readLines(ics_file)
ics_list = ic_list(x)
ics_list[1:2]
ic_list(x, include_pattern = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.