calendar (version 0.0.1)

ic_dataframe: Convert iCal lines of text into a data frame

Description

Returns a data frame

Usage

ic_dataframe(x)

Arguments

x

Lines read-in in from an iCal file

Examples

Run this code
# NOT RUN {
ic_dataframe(ical_example)
ic_dataframe(ical_outlook)
ics_file <- system.file("extdata", "england-and-wales.ics", package = "calendar")
x = readLines(ics_file)
x_df = ic_dataframe(x)
head(x_df)
x = data.frame(x_df)
x_df2 = ic_dataframe(x)
identical(x, x_df2)
# }

Run the code above in your browser using DataCamp Workspace