is_term(term = "TENMW101", clst_code = "C141657")
# Note that the clst_code term itself (`"TENMW1TC"`) is not part of its own
# code list (`"C141657"`).
is_term(term = "TENMW1TC", clst_code = "C141657")
# `is_term()` is vectorized over `term` and `clst_code`
is_term(term = c("TENMW101", "TENMW104"), clst_code = "C141657")
is_code(code = "C174106", clst_code = "C141657")
# Note that the code list code itself (`"C141657"`) is not part of its own
# code list (`"C141657"`).
is_code(code = "C141657", clst_code = "C141657")
# `is_code()` is vectorized over `code` and `clst_code`
is_code(code = c("C174106", "C141701"), clst_code = "C141657")
Run the code above in your browser using DataLab