Given the labels and the codes of a variable, create a named list.

create_mapping_labels(labels, codes)

Arguments

labels

A string of labels separated by a comma and a space. A string.

code

A string of values separated by a comma. A string.

Value

A named list mapping labels to values.