Learn R Programming

tsibble (version 1.2.0)

unnest_tsibble: Unnest a data frame consisting of tsibbles to a tsibble

Description

[Deprecated]

Usage

unnest_tsibble(data, cols, key = NULL, validate = TRUE)

Arguments

data

A data frame contains homogenous tsibbles in the list-columns.

cols

Names of columns to unnest.

key

<tidy-select> Variable(s) that uniquely determine time indices. NULL for an empty key, unquoted column names (e.g. x) for a single variable, and c() for multiple variables (e.g. c(x, y)). This argument also supports tidy-select expressions, e.g. dplyr::starts_with(), dplyr::all_of().

validate

TRUE suggests to verify that each key or each combination of key variables leads to unique time indices (i.e. a valid tsibble). If you are sure that it's a valid input, specify FALSE to skip the checks.