Description Usage Arguments Details Value References Examples
A simple function to create the filename of accident data for a given year.
make_filename
This function takes an user provided year to generate a
filename from FARS.
1 | make_filename(year)
|
year |
A numeric corresponding to the user provided year. |
The function explictly converts the numeric to an integer.
A character string corrresponding to the full file name with the format. accident_year.csv.bz2.
https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
1 | make_filename(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.