Description Usage Arguments Examples
View source: R/getRelativeDates.R
This function takes a target date as a well formatted character, e.g. '2019-01-01' and returns a dataframe of relative dates, e.g. yesterday, last week ending, last quarter start, etc.
1 2 | getRelativeDates(targetDate = as.character(as.Date(format(Sys.time(),
"%Y-%m-%d"))))
|
targetDate |
The date of interest as a well formatted character string, e.g. '2019-01-01' |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.