unnest_wide: Unnest all list-cols in a data frame into columns

View source: R/unnest_wide.R

unnest_wideR Documentation

Unnest all list-cols in a data frame into columns

Description

unnest_wide() unnests all list-cols in a data frame into atomic columns for each unique element in a list-col. Unnested columns are appended to the end of the dataset, and are distinguished by concatenating an underscore and a sequential number to the original list-col name.

Usage

unnest_wide(.data)

Arguments

.data

A data frame.

Value

A tibble.


ivelasq/wizehiver documentation built on April 7, 2022, 1:35 a.m.