assert_ct_clst | R Documentation |
assert_ct_clst()
asserts the validity of a codelist code in the context of
a controlled terminology specification.
assert_ct_clst(ct_spec, ct_clst, optional = FALSE)
ct_spec |
Either a data frame encoding a controlled terminology data set, or
|
ct_clst |
A string with a to-be asserted codelist code, or |
optional |
A scalar logical, indicating whether |
The function throws an error if ct_clst
is not a valid codelist code
given the controlled terminology data set; otherwise, ct_clst
is returned
invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.