Description Usage Arguments Details Value Examples
This is a function that builds a filename in the standard file format for "Highway Fatality Report", given a year.
1 | make_filename(year)
|
year |
A numeric or string giving the year for the filename |
If the provided year
is not a integer, the value is truncated. If the provided year
can't be converted to a numeric, a warning about N/A's is printed.
This function returns a character vector with a year preceded by "accident_" and followed by ".csv.bz2"
1 2 | make_filename(1984)
make_filename("1984")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.