This function uses the metadata attributes RECODE_CASES and/or RECODE_CONTROL to dichotomize the data. 'Cases' will be recoded to 1, 'controls' to 0. The recoding can be specified by an interval (for metric variables) or by a list of categories separated by the 'SPLIT_CHAR'. Recoding will be used for data quality checks that include a regression model.