daily2cal: Create Calendar from Daily File

View source: R/calendar.R

daily2calR Documentation

Create Calendar from Daily File

Description

Create Calendar from Daily File

Usage

daily2cal(
  path = "daily.txt",
  start = NULL,
  end = NULL,
  days = NULL,
  delim = "::\\s+",
  daysep = "^===+"
)

Arguments

path

path to "daily" file

start

start date

end

end date

days

a character string or a numeric vector indicating which days of the week to use by default. (1 = N = Sunday, 5 = R = Thursday, 7 = S = Saturday)

delim

delimeter for parsing items a day's entry

daysep

between day separator

Value

a data frame representing the calendar

See Also

html_calendar(), gg_calendar()


rpruim/calendar documentation built on April 24, 2023, 8:41 a.m.