Description Usage Arguments Value Examples
View source: R/prep-dictionary.R
value map will be applied only when starting_value and ending_value are same to do this, convert it into a nested list ... list will have elements for columns in pums_hh, each one a named vector of potential values
1 2 3 4 5 6 7 |
definitions_tbl |
A data frame containing information about the definitions of values stored in another table. |
variable_col |
Unquoted name of column in 'definitions_tbl' that identifies columns in the data table being cleaned |
value_col |
Unquoted name of column in 'definitions_tbl' that stores current values of variables identified by 'variable_col' |
definition_col |
Unquoted name of column in 'definitions_tbl' that stores replacement / "definition" values matched to 'value_col' |
drop_solos |
Optionally, logical identifying whether to exclude variables from the dictionary if they only have one unique value |
Named list of vectors to use for recoding variables. Probably should be an S3 class.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.