View source: R/flag_other_synth_present.R
flag_other_synth_present | R Documentation |
Note that ICD9 years did not include an other synethtic opioid code. We code it as 0 by default, but can be coded however specified in missing_val parameter. This function flags all opioid deaths that involved other synthetic opioid.
flag_other_synth_present(processed_df, year = NULL, missing_val = 0)
processed_df |
MCOD dataframe already processed |
year |
if NULL, will attempt to detect |
missing_val |
value to indicate missing (i.e., code did not exist) |
a new dataframe with 1 additional column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.