Description Usage Arguments Details Value Note Examples
make_filename is used to create a FARS (Fatality Analysis Reporting System) character string filename.
1 | make_filename(year)
|
year |
A character or integer variable of the year |
The function creates a character string with a filename of the year say 2006 in the format of accident_2006.csv.bz2
This function returns a filename in the form of a character string.
Error message: If the wrong file name is used then an error will be thrown
1 2 3 4 5 | ## Not run:
make_filename("2016")
make_filename(2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.