Description Usage Arguments Value
For iterating through variables and using each variable's metadata to recode the values from codes to descriptive values. Finished if actually needed.
1 | recode_with(data, metadata, variable_name, code, value)
|
data |
The original dataframe to be recoded. |
metadata |
A dataframe with old and new values. |
code |
An unquoted name of the metadata variable that contains old values. |
value |
An unquoted name of the metadata variable that contains new values. |
A dataframe with recoded values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.