View source: R/download_fars.R
download_fars | R Documentation |
Download files from NHTSA, unzip, and prepare them.
download_fars(years, dest_raw, dest_prepd, states)
years |
Years to be downloaded, in yyyy (character or numeric formats) |
dest_raw |
Directory to store raw CSV files |
dest_prepd |
Directory to store prepared CSV files |
states |
(Optional) Inherits from get_fars() |
Raw files are downloaded from NHTSA.
Nothing directly to the current environment. Various CSV files are stored either in a temporary directory or dir as specified by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.