Description Usage Arguments Value
Return a list of date intervals relative to the current date.
1 2 | define_date_ranges(base_date = Sys.Date(), min_date = as.Date("2016-01-01"),
week_start = 1)
|
base_date |
A date object. |
week_start |
An integer denoting the first day of the week (1 = Sunday) |
interval_list A list of (date_interval, functions_to_apply) pairs. See standardmetrics::interval_list for an example of how to format this list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.