ic_dataframe: Convert iCal lines of text into a data frame

View source: R/ic_dataframe.R

ic_dataframeR Documentation

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

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)

calendar documentation built on May 29, 2024, 2:34 a.m.