Skip to contents

This function renames the columns in the hces data file to the standard MAPS column names.

Usage

rename_hces(data, country_name, survey_name)

Arguments

data

dataframe . The data file as a dataframe.

column_mapping

dataframe . The column mapping file as a dataframe.

Value

dataframe: The data file with renamed columns.

Note

the read_in_data() function should be used first to import and format the required data.