Description Usage Arguments Value Note Examples
This function creates a filename corresponding to the Fatality Analysis Reporting System (FARS) csv files for a specific year.
1 | make_filename(year)
|
year |
A numeric value indicating the year for which the data is going to be read. |
A string containing the name of the file with FARS data for the input year.
The csv files with the data need to be downloaded previously from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System website (https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars)
1 2 | make_filename(2010)
make_filename(2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.