daily2html: Render Daily File as HTML

View source: R/calendar.R

daily2htmlR Documentation

Render Daily File as HTML

Description

Render Daily File as HTML

Usage

daily2html(
  path = "daily.txt",
  start = NULL,
  end = NULL,
  days = NULL,
  show = 1:7,
  items = NULL,
  width = "95%",
  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)

show

a numeric vector of days to show (Sunday = 1)

items

a character vector of items to display (or NULL for all)

width

width of HTML table used for calendar.

delim

delimeter for parsing items a day's entry

daysep

between day separator

Value

a character string of HTML code for the calendar


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