unnest_: Standard-evaluation version of 'unnest'.

Description Usage Arguments

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.



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.