Attaches labels to the data_to_label to preserve metadata

label_data(label_list, data_to_label)

Arguments

label_list

the label list object that contains extracted labels from variable details

data_to_label

The data that is to be labeled

Value

Returns labeled data