Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This function creates a filename for a .csv.bz2 file based on the year that you input, yielding a string with the format "accident_<year>.csv.bz2".
1 | make_filename(year)
|
year |
Numerical or integer value indicating the year of the data. |
It requires a numerical or integer input otherwise ends with an error.
Returns a character string with the format "accident_<year>.csv.bz2".
1 | makefilename(2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.