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