View source: R/multilist_to_tibble.R
multilist_to_tibble | R Documentation |
Modify a multilist from API JSON output to a level 1 tibble
multilist_to_tibble(the_list)
the_list |
list of element as issued from a API REST call |
a tibble with columns as the names of the list
reprex <- list(
list(a = 1, b = list("email1", "email2", "email3"), c = list("3")),
list(a = 5, b = list("email1"), c = list("4")),
list(a = 3, b = NULL, c = list("3", "2"))
)
multilist_to_tibble(reprex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.