View source: R/data-item-cleaning.R
clean_icd_9_cm | R Documentation |
Clean ICD-9-CM codes
clean_icd_9_cm(code, keep_unknown = FALSE)
code |
A character vector of ICD-9-CM codes. |
keep_unknown |
Replace values for "unknown" with |
A character vector with leading and trailing whitespace removed.
If keep_unknown
is FALSE
, blanks and the ICD-9-CM code for
"unknown" ("00000"
) are replaced with NA
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.