prep_fars | R Documentation |
Prepare downloaded FARS files for use
prep_fars(y, wd, rawfiles, prepared_dir, states)
y |
year, to be passed from |
wd |
working directory, , to be passed from |
rawfiles |
dataframe translating filenames into standard terms,
to be passed from |
prepared_dir |
the location where prepared files will be saved,
to be passed from |
states |
(Optional) Inherits from get_fars() |
Produces six files: yyyy_flat.rds, yyyy_multi_acc.rds, yyyy_multi_veh.rds, yyyy_multi_per.rds, yyyy_events.rds, and codebook.rds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.