flag_methadone_present: Creates a column 'methadone_present' if opioid death involved...

View source: R/flag_methadone_present.R

flag_methadone_presentR Documentation

Creates a column 'methadone_present' if opioid death involved methadone

Description

This function flags all opioid deaths that involved methadone.

Usage

flag_methadone_present(processed_df, year = NULL, keep_cols = FALSE)

Arguments

processed_df

MCOD dataframe already processed

year

if NULL, will attempt to detect

keep_cols

keep intermediate columns

Value

a new dataframe with 1 additional column


mkiang/narcan documentation built on Sept. 26, 2024, 7:18 a.m.