View source: R/trim_5char_record.R
trim_5char_record | R Documentation |
For some years, the ICD-9 record columns are 5 character codes with the last character representing the nature of injury (N) flag. Just trim off these columns and use the appropriate rnifla_ column for the N flag.
trim_5char_record(record_col)
record_col |
The record column from an ICD-9 dataframe |
vector
trim_5char_record(c("400 1", "40000", "400", "400 "))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.