harmonize_na_values {retroharmonize} | R Documentation |
Harmonize na_values in haven_labelled_spss
Description
Harmonize na_values in haven_labelled_spss
Usage
harmonize_na_values(df)
Arguments
df |
A data frame that contains haven_labelled_spss vectors. |
Value
A tibble where the na_values are consistent
See Also
Other harmonization functions:
collect_val_labels()
,
harmonize_values()
,
harmonize_var_names()
,
label_normalize()
,
suggest_permanent_names()
,
suggest_var_names()
Examples
examples_dir <- system.file(
"examples", package = "retroharmonize"
)
test_read <- read_rds (
file.path(examples_dir, "ZA7576.rds"),
id = "ZA7576",
doi = "test_doi")
harmonize_na_values(test_read)
[Package retroharmonize version 0.2.0 Index]