Skip to contents

The XLSX file template.xlsx contains a series of pre-defined names for the variables (sheet 'Definitions'). This function checks if all user defined variable names are valid. Not case sensitive; will be adjusted if needed.

Usage

check_for_allowed_variables(x)

Arguments

x

character vector with variable names.

Value

Character vector (with possibly adjusted) variable names, or fails.

See also

annex_variable_definition, annex_room_definition, annex_country_definition

Author

Reto Stauffer