R/data_utils.R
flip_names.Rd
Takes a named vector or list and swaps the names with their values
flip_names(mapping)
A named vector or list where names will be swapped with values
A named vector or list with keys and values flipped, preserving the original class