Description Usage Arguments Value See Also
Convert dates series into periodic dates series
1 2 3 4 5 | as_period_date(
dates_series,
period = c("day", "month", "quarter", "year"),
period_date = c("start", "end")
)
|
dates_series |
A vector of date/timestamps. |
period |
A character of period, e.g. "day", "month", "quarter", "year". Default "day". |
period_date |
A character of period_date format, e.g. "start", "end", "start" format date as start of the period, "end" format date as end of period. Default "start". |
A date_series with period format.
Other utils_dates:
guess_dates_period()
,
is_periodic_dates()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.