This function performs only structural cleaning steps suitable for the current implementation phase. It does not yet apply substantive harmonization rules.
Arguments
- data
A data frame previously read by
enemdu_read_data()or another data frame compatible with the ENEMDU workflow.- survey_type
Optional survey type. If omitted, the function uses the
survey_typeattribute when available.- standardize_names
Logical. If
TRUE, variable names are standardized.