Skip to contents

ct_spec_vars() returns the mandatory variables to be present in a data set representing a controlled terminology. By default, it returns all required variables.

If only the subset of variables used for matching terms are needed, then request this subset of variables by passing the argument value "from". If only the mapping-to variable is to be requested, then simply pass "to". If only the codelist code variable name is needed then pass "ct_clst".

Usage

ct_spec_vars(set = c("all", "ct_clst", "from", "to"))

Arguments

set

A scalar character (string), one of: "all" (default), "ct_clst", "from" or "to".