parse_period {tibbletime} | R Documentation |
Parse a character period specification
Description
The period is parsed into frequency and period and returned as a named list.
Usage
parse_period(period)
Arguments
period |
A character specification used for time-based grouping. The
general format to use is Note that you can pass the specification in a flexible way:
This shorthand is available for year, quarter, month, day, hour, minute, second, millisecond and microsecond periodicities. Additionally, you have the option of passing in a vector of dates to use as custom and more flexible boundaries. |
Examples
parse_period('2 day')
[Package tibbletime version 0.1.8 Index]