Learn R Programming

ical (version 0.1.6)

ical_parse: ical_parse

Description

Parses iCalendar format from character vector or file and returns it as a list of columns.

Parses iCalendar format from character vector or file and returns it as data.frame.

Parses iCalendar format from character vector or file and returns it as a list of entries.

Usage

ical_parse(file = NULL, text = NULL)

ical_parse_df(file = NULL, text = NULL)

ical_parse_list(file = NULL, text = NULL)

Arguments

file

path to file to be read in and parsed

text

text of ical file

Examples

Run this code
# NOT RUN {
# parse from character vector
char_vec <- readLines(system.file("birthdays.ics", package = "ical"))
ical_parse(text = char_vec)

# parse from file
ical_parse(file = system.file("birthdays.ics", package = "ical"))

# }

Run the code above in your browser using DataLab