Skip to contents

Returns an unnested data frame, i.e. each element of the list-column is converted back into a separated column data frame.

Usage

unnest(data, cols = NULL)

Arguments

data

A nested data frame.

cols

A character vector of list-column names. Used when the data frame with list-columns was not created with nest_by() or lost it's nest_df class.

Value

data.frame

See also

Examples


#----------------------------------------------------------------------------
# unnest() examples
#----------------------------------------------------------------------------
library(bkdat)