Skip to contents

narcan turns raw NCHS Multiple Cause of Death micro-data into drug- and opioid-overdose death counts and age-standardized rates, using the Injury Surveillance Workgroup (ISW7) ICD-9/ICD-10 definitions.

The canonical pipeline has four steps, each with a vignette:

  1. Import the raw fixed-width file (import_mcod_fwf) and collapse its multiple-cause fields (unite_records).

  2. Flag drug/opioid deaths (flag_drug_deaths, flag_opioid_deaths, flag_opioid_types); see vignette("classifying-overdose-deaths").

  3. Denominators: join population counts with add_pop_counts; see vignette("population-denominators").

  4. Rates: age-standardize with add_std_pop and calc_stdrate_var; see vignette("age-standardized-rates").

Stratify by Hispanic origin (vignette("hispanic-origin")) or harmonize geography (vignette("geography-fips")) as needed. New users should start with vignette("getting-started").

Author

Maintainer: Mathew Kiang mathew.kiang@gmail.com

Authors: