Look up dates from the semester schedule and format them as a range from earliest to latest.
Usage
format_date_range_by_cal_id(
calendar,
cal_ids,
abbr = TRUE,
days = FALSE,
abbr_wday = NULL
)
format_date_range_by_class_num(
calendar,
nums,
abbr = TRUE,
days = FALSE,
abbr_wday = NULL
)
format_date_range_by_key(
calendar,
keys,
type = c("class", "reading", "lab", "homework", "exam", "holiday", "event", "due date",
"raw"),
abbr = TRUE,
days = FALSE,
abbr_wday = NULL
)
format_date_range_by_event_id(
calendar,
event_ids,
abbr = TRUE,
days = FALSE,
abbr_wday = NULL
)
Arguments
- calendar
The calendar to use for looking up the date.
- cal_ids
A list or vector of calendar IDs.
- abbr
Abbreviate the month.
- days
Include day of week in formatted date.
- abbr_wday
Abbreviate weekdays (if this is
NULL
, useabbr
).- nums
A list or vector of class numbers.
- keys
A list or vector of key indices to look up.
- type
Which type of key is this ("class", "reading", "lab", "homework", "exam", "holiday", "event", "due date", or "raw")
- event_ids
A list or vector of event ids.