| flag_maternal_deaths | R Documentation | 
Maternal deaths according to ICD-10 codes.
flag_maternal_deaths(
  processed_df,
  year = NULL,
  ucod_only = FALSE,
  keep_cols = FALSE
)
processed_df | 
 MCOD dataframe already processed  | 
year | 
 if NULL, will attempt to detect  | 
ucod_only | 
 if TRUE, only flag maternal deaths in underlying cause  | 
keep_cols | 
 keep intermediate columns  | 
a new dataframe with a binary maternal_death column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.