Description Usage Arguments Value Examples
View source: R/fars_function.R
make_filename A function that returns the filename for the FARS database given a certain year. No need to be exported as it's mainly used inside the package
1 | make_filename(year)
|
year |
A character or number (it will be coerced to integer in the function) containing the year |
returns a character with the correct file name to be searched in the FARS database. It will return an error if input is incorrect (ie '2015c')
1 2 3 4 5 | ## Not run:
make_filename(2015)
make_filename('2015')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.