The time indices are preserved as the essential data component of the tsibble,
instead of implicit attribute (for example, the tsp attribute in a ts object). A
few index classes, such as Date, POSIXct, and difftime, forms the basis of
the tsibble, with new additions yearweek, yearmonth, and yearquarter
representing year-week, year-month, and year-quarter respectively. Any arbitrary
index class are also supported, including zoo::yearmon, zoo::yearqtr, and
nanotime.
For a tbl_ts of regular interval,
a choice of index representation has to be made. For example, a monthly data
should correspond to time index created by yearmonth or zoo::yearmon,
instead of Date or POSIXct. Because months in a year ensures the regularity,
12 months every year. However, if using Date, a month contains days ranging
from 28 to 31 days, which results in irregular time space. This is also applicable
to year-week and year-quarter.
Since the tibble that underlies the tsibble only accepts a 1d atomic
vector or a list, a tbl_ts doesn't accept POSIXlt and timeDate columns.