Reverses link[apply_labels()]
.
reverse_labels( data, dict, from = "value", to = "value_label", by = "variable", names_from = "variable", names_to = "variable_label", dataset_name = NULL, ... )
data | dataset to apply labeling on. |
---|---|
dict | dictionary to use for application of labeling. |
from | a column name or position defining words or keys to be replaced |
to | a column name or position defining replacement values |
by | character or integer - which column in |
names_from | column name or position defining where to match names from. Defaults to "variable". |
names_to | column name or position defining replacements for
|
dataset_name | (optional) name of dataset to filter |
... | Passed to |
un-labeled, R-friendly tibble