build_tsibble_meta() assigns the attributes to an object, assuming this
object is a valid tsibble.
build_tsibble_meta(x, key, index, index2, regular = TRUE,
ordered = NULL, interval = NULL)A data.frame, tbl_df, tbl_ts, or other tabular objects.
Variable(s) that define unique time indices, used in conjunction
with the helper id(). If a univariate time series (without an explicit key),
simply call id().
A bare (or unquoted) variable to specify the time index variable.
A candidate of index to update the index to a new one when
index_by. By default, it's identical to index.
Regular time interval (TRUE) or irregular (FALSE). The
interval is determined by the greatest common divisor of index column, if TRUE.
The default of NULL arranges the key variable(s) first and
then index from past to future. TRUE suggests to skip the ordering as x in
the correct order. FALSE also skips the ordering but gives a warning instead.
NULL computes the interval. Use the specified interval via
new_interval() as is, if an class of interval is supplied.