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

View source: R/tidyr-verbs.R

unnest_tsibbleR Documentation

Unnest a data frame consisting of tsibbles to a tsibble

Description

\lifecycle

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

Variable(s) that uniquely determine time indices. NULL for empty key, and c() for multiple variables. It works with tidy selector (e.g. dplyr::starts_with()).

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.


earowang/tsibble documentation built on Feb. 6, 2024, 11:27 a.m.