Description Usage Arguments Value Examples
This function takes a year as a character string, coerces it to an integer, then uses sprintf to generate a filename for one of the FARS datasets. This function has no input sanitation and will allow any year string and any character.
1 | make_filename(year)
|
year |
a character string defining a year |
returns a string in the format accident_YYYY.csv.bz2
1 | make_filename("2013")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.