download_mcod_dta: Download the multiple cause of death data as a DTA file

View source: R/download_mcod_dta.R

download_mcod_dtaR Documentation

Download the multiple cause of death data as a DTA file

Description

NBER hosts publicly available multiple cause of death data in several formats (see source). This function downloads the specified year to the specified folder in the DTA (Stata) format.

Usage

download_mcod_dta(year, download_dir = "./raw_data")

Arguments

year

year to download (as integer)

download_dir

file path to save downloaded data

Value

none

Source

http://www.nber.org/data/vital-statistics-mortality-data-multiple-cause-of-death.html


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