Description Usage Arguments Value
Extract date ranges from a vector of years
1 | yr_to_isorange(x, type = c("both", "start", "end"))
|
x |
vector of years |
type |
what output to return. |
years are converted to ISO dates of 1st Jan for a begin
date
and 31st Dec for end
dates. If type = "range"
a vector of length 2
is returned. Otherwise a named character string of the specified
boundary is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.