Get the data from values and fields
get_data(td, values, fields)
td
A when object.
when
values
A vector of strings.
fields
A tibble.
tibble