unnest_tsibble {tsibble}R Documentation

Unnest a data frame consisting of tsibbles to a tsibble

Description

This function has the lifecyle of questioning

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

Unquoted variable(s) that uniquely determine time indices. NULL for empty key, and 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.


[Package tsibble version 0.8.2 Index]