View source: R/download_mcod_csv.R
download_mcod_csv | R Documentation |
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.
download_mcod_csv(year, download_dir = "./raw_data", territories = FALSE)
year |
year to download (as integer) |
download_dir |
file path to save download data |
territories |
download US territories |
none
http://www.nber.org/data/vital-statistics-mortality-data-multiple-cause-of-death.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.