Closed jerlev closed 1 year ago
Yea, we only support POSIXct
for sub-daily time series data. Regarding weekly data, please use yearweek()
to represent weeks. and see FAQ for details.
library(tsibble, warn.conflicts = FALSE)
biweekly <- seq(yearweek("2021 W1"), yearweek("2021 W52"), by = 2)
interval_pull(biweekly)
#> <interval[1]>
#> [1] 2W
Created on 2022-10-09 with reprex v2.0.2
interval_pull
doesn't work with POSIXt vectors when intervals are >= one day:There also seems to be a bug with
split_period
: