Looks up the equivalent code(s) in a target coding system for a given source code, using the built‑in crosswalk CSV tables.
Arguments
- code
A single
characterstring specifying the code to map.- from
A single
characterstring naming the source code system (e.g."ICD9CM","ATC"). Must be one of the systems listed insupported_inner().- to
A single
characterstring naming the target code system (e.g."CCSCM","NDC"). The pairpaste0(from, "_to_", to)must be one ofsupported_cross().
Value
A character vector of mapped code(s) in the target system. If no match
is found, returns an empty character vector.