Skip to content

This is a helper function to extract the ID's in the values list that the dst_meta function returns.

dst_find_val_id(meta_data, variable, values_text = NULL)

Arguments

meta_data

The meta data object.

variable

The variable to search in.

values

Character vector. The values you want to extract the IDs for. If NULL, the returned value will be "*".