| parse_labels | R Documentation |
Takes a string separated by ,s and/or |s (i.e. comma/tab
separated values) containing key value pairs (raw and label)
and returns a tidy tibble.
parse_labels(string, return_vector = FALSE, return_stripped_text_flag = FALSE)
string |
A |
return_vector |
logical for whether to return result as a vector |
return_stripped_text_flag |
logical for whether to return a flag indicating whether or not text was stripped from labels |
The associated string comes from metadata outputs.
A tidy tibble from a matrix giving raw and label outputs to
be used in later functions if return_vector = FALSE, the default.
Otherwise a vector result in a c(raw = label) format to use with
dplyr::recode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.