Description Usage Arguments Details Value Note Examples
This function creates a string containing a standardized filename for a CSV file containing a year of FARS data. It is used as an input to other functions in the package to help them identify FARS data files in the working directory.
1 | make_filename(year)
|
year |
The year for which a filename is to be generated. |
This function takes the year input and passes it to the sprintf
function, a wrapper
for the C sprintf
function
Returns a string representing a filename.
This function requres that the year parameter be interpretable as an integer. For proper functioning, only integer values should be used, although numeric inputs will be rounded down to the nearest integer and the function will produce the requested output.
1 | make_filename(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.