unpack_ids | R Documentation |
Unpack a vector of "packed IDs" (like facility IDs or category IDs)
unpack_ids(x, ...)
packed_ids <- c("c(1, 3)", "c(1:4)") unpack_ids(packed_ids) packed_data <- tibble(cat_ids = c("c(1, 3)", "c(1:4)")) unpack_ids(packed_data, id_var = "cat_ids") unpack_ids(packed_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.