Description Usage Arguments Value Examples
This function creates a custom filename string from the combination of year given by the user (using year
) and
the default part of the filename of the file with data from the
US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.
This string can then be used to read data from the file with data from the given year.
The user input needs to be an integer otherwise the function will result in an error.
1 | make_filename(year)
|
year |
An integer respresenting the year to be used in the filename string |
This function returns a string with the filename customized with given year
1 | make_filename(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.