| .download_mcod_fwf | R Documentation | 
The CDC hosts publicly available multiple cause of death data as a fixed- width text file. This function downloads that file as a zip. Note that the CDC FTP is very slow–downloading from NBER via the download_mcod_dta() or download_mcod_csv() functions is strongly suggested.
.download_mcod_fwf(year, download_dir = "./raw_data")
year | 
 year to download (as integer)  | 
download_dir | 
 file path to save downloaded data  | 
none
ftp://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/DVS/mortality/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.