download_mcod_csv: Download the multiple cause of death data as a CSV file

View source: R/download_mcod_csv.R

download_mcod_csvR Documentation

Download the multiple cause of death data as a CSV 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 CSV format.

Usage

download_mcod_csv(year, download_dir = "./raw_data", territories = FALSE)

Arguments

year

year to download (as integer)

download_dir

file path to save download data

territories

download US territories

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.