View source: R/text_formatting.R
sanitize_date_range | R Documentation |
Create a date range from a list of dates.
sanitize_date_range(dates)
dates |
A list or vector of dates. |
Take an arbitrary list of dates and create a date range from the first to the last.
A named list with start
and stop
elements.
sanitize_date_range(c(as.Date("2021-02-20"), as.Date("2021-03-15"),
as.Date("2019-12-15"), as.Date("2020-07-14")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.