Read ics file

ic_read(file)

Arguments

file

ics file to read

Value

object of class ics

Examples

f <- system.file("extdata", "england-and-wales.ics", package = "calendar") ics_df = ic_read(f) head(ics_df)
#> # A tibble: 6 x 6 #> `DTEND;VALUE=DAT… `DTSTART;VALUE=D… SUMMARY UID SEQUENCE DTSTAMP #> <date> <date> <chr> <chr> <chr> <chr> #> 1 2012-01-03 2012-01-02 New Year’s… ca6af7456b0… 0 2018080… #> 2 2012-04-07 2012-04-06 Good Friday ca6af7456b0… 0 2018080… #> 3 2012-04-10 2012-04-09 Easter Mon… ca6af7456b0… 0 2018080… #> 4 2012-05-08 2012-05-07 Early May … ca6af7456b0… 0 2018080… #> 5 2012-06-05 2012-06-04 Spring ban… ca6af7456b0… 0 2018080… #> 6 2012-06-06 2012-06-05 Queen’s Di… ca6af7456b0… 0 2018080…