mutate_mapping function

Modify data frame according to mapping