unnest_: Standard-evaluation version of 'unnest'.

Description Usage Arguments

View source: R/unnest.R


This is a S3 generic.


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



A data frame.


Name of columns that needs to be unnested.


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


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.


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 19, 2017, 7:50 a.m.
Search within the tidyr package
Search all R packages, documentation and source code

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

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

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