Skip to contents

This function is called within the mapMetadata function.

It displays data properties to the user and requests a categorisation into a domain.

An optional note can be included with the categorisation.

Usage

user_categorisation(data_element, data_desc, data_type, domain_code_max)

Arguments

data_element

Name of the variable

data_desc

Description of the variable

data_type

Data type of the variable

domain_code_max

Max code in the domain list (0-3 auto included, then N included via domain_file)

Value

It returns a list containing the decision and decision note