Convert two vectors from a code-value-table to a key-value list
prep_deparse_assignments(
codes,
labels,
split_char = SPLIT_CHAR,
mode = c("numeric_codes", "string_codes")
)
a vector with assignment strings for each row of
cbind(codes, labels)
codes, numeric or dates (as default, but string codes can be enabled using the option 'mode', see below)
character labels, same length as codes
character split character character to split code assignments
character one of two options to insist on numeric or datetime codes (default) or to allow for string codes