unnest_: Standard-evaluation version of 'unnest'.

Description Usage Arguments

View source: R/unnest.R

Description

This is a S3 generic.

Usage

1
unnest_(data, unnest_cols, .drop = NA, .id = NULL, .sep = NULL)

Arguments

data

A data frame.

unnest_cols

Name of columns that needs to be unnested.

.drop

Should additional list columns be dropped? By default, unnest will drop them if unnesting the specified columns requires the rows to be duplicated.

.id

Data frame idenfier - if supplied, will create a new column with name .id, giving a unique identifer. This is most useful if the list column is named.

.sep

If non-NULL, the names of unnested data frame columns will combine the name of the original list-col with the names from nested data frame, separated by .sep.


tidyr documentation built on May 29, 2017, 10:46 a.m.

Search within the tidyr package
Search all R packages, documentation and source code