clst_code_to_term | R Documentation |
clst_code_to_term()
maps SDTM terminology codelists' C-codes to respective
terms. For mapping codes other than those representing codelists, use
code_to_term()
instead.
clst_code_to_term(code)
code |
A C-code with a leading character C followed by a sequence of digits used for uniquely identifying each SDTM terminology codelist. |
A character vector of SDTM terms for codelists. The number
of elements returned matches the number of elements in code
, i.e. there
is a one-to-one correspondence between input and output. Invalid codes in
code
are mapped to NA
.
See clst_term_to_code()
for the inverse operation.
clst_code_to_term(code = "C66731")
# `code` is vectorized.
clst_code_to_term(code = c("C66731", "C66733"))
# Invalid codes (e.g. `"C007"`) map to `NA`.
clst_code_to_term(code = c("C66731", "C66733", "C007"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.