Skip to contents

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()

Value

Nothing directly to the current environment. Various CSV files are stored either in a temporary directory or dir as specified by the user.

Details

Raw files are downloaded from NHTSA.