Creates the basic template for a heatmap calendar in ggplot when using count
data. The calendar will automatically expand the date contrains to full
years. Can be supplied the output from daily_admissions
.
create_calendar_template(x = NULL, date_boundaries = NULL)
x | count data to be used in the calendar from
|
---|---|
date_boundaries | character vector of format YYYY-MM-DD (or something
that is parsable by |
a tibble with correct week alignments for a calendar heatmap