Return formatted data from iCal fields

ic_extract(x, pattern)

Arguments

x

Lines read-in in from an iCal file

pattern

A text string to search from (an ical field)

Examples

ic_extract(ical_example, "DTSTART")
#> [1] "2018-08-09 16:00:00 UTC"