R/extensions-base.R
bp_label_variables.Rd
The haven package has a handy tool called
"labeled vectors", which are like factors that can be interpreted in other
statistical software like STATA and SPSS. See haven::labelled()
for more information on the type. Running this on a blueprint will instruct
the blueprint to convert all variables with non-NA title
, description
, or
coding
fields to labeled vectors.
bp_label_variables(blueprint)
An amended blueprint with variable labelling in the cleanup phase set