download_fars {rfars} | R Documentation |
(Internal) Download FARS data files
Description
Download files from NHTSA, unzip, and prepare them.
Usage
download_fars(years, dest_raw, dest_prepd, states)
Arguments
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() |
Details
Raw files are downloaded from NHTSA.
Value
Nothing directly to the current environment. Various CSV files are stored either in a temporary directory or dir as specified by the user.
[Package rfars version 1.2.0 Index]