Skip to contents

Download files from NHTSA, unzip, and prepare them.

Usage

download_gescrss(years, dest_raw, dest_prepd, regions)

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

regions

(Optional) Inherits from get_gescrss()

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 directly from NHTSA.