Description Usage Arguments Value Note Examples
This Helper-function constructs a valid FARS filename from a given year
1 | make_filename(year)
|
year |
The year which the datafile is asked for. |
A character string with format: "accident_yyyy.csv.bz2", where yyyy is the year parameter passed.
there is no check whether the number is a valid year for the FARS data, any typo or garbled number will result in a filename, correct or not.
1 2 3 | ## Not run:
make_filename(2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.