View source: R/clean_icd9_data.R
clean_icd9_data | R Documentation |
Across 1979-1998, MCOD data have minor inconsistencies. This wrapper function renames nature of injury columns, pads UCOD codes with no sub-codes, prefixes an E to external cause of injury codes and an N to nature of injury codes, and trims unnecessary characters and whitespace.
clean_icd9_data(icd9_df)
icd9_df |
an ICD-9 dataframe |
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.