ic_vector: Return a named vector from raw iCal text

View source: R/ic_vector.R

ic_vectorR Documentation

Return a named vector from raw iCal text

Description

This is designed to be a helper function for creating data frames ical lists.

Usage

ic_vector(x, pattern = "[A-Z]-?[A-Z]")

Arguments

x

Lines read-in in from an iCal file

pattern

A text string to search from (an ical field)

Examples

x = ical_example[18:19]
ic_vector(x)

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