Skip to contents

This function performs only structural cleaning steps suitable for the current implementation phase. It does not yet apply substantive harmonization rules.

Usage

enemdu_clean_data(data, survey_type = NULL, standardize_names = TRUE)

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_type attribute when available.

standardize_names

Logical. If TRUE, variable names are standardized.

Value

A minimally cleaned data frame.