View source: R/concatenate_list_columns.R
concatenate_df_list_columns_with_config | R Documentation |
This function will concatenate list columns into character columns. Any column of type "list:character" will be concatenated
concatenate_df_list_columns_with_config(tbl, config)
tbl |
A Tibble data <- dplyr::tribble( ~study, ~month, c("s1", "s2) "January" ) |
config |
A list with a named list named "columns" that has an entry for each column needed in the tibble. Each column must have a "name", and "type" field. config <- list( "columns" = list( list( "name" = "study", "display_name" = "Consortium", "type" = "list:character" ), ) ) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.