View source: R/data_manipulation.R
unnest_cat | R Documentation |
When entering species, method, and programming languages into the spreadsheet, sometimes one paper or dataset has multiple of those, and those are separated by a semicolon. This function unnests that and returns a data frame with one row per category of interest.
unnest_cat(sheet, col_use, other_cols = NULL)
sheet |
The tibble for the spreadsheet. |
col_use |
Column to unnest. Tidyeval is supported. |
other_cols |
Character vector of other columns to include. |
A data frame with one row per category of interest. NAs are removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.