Description Usage Arguments Details Value Note Examples
make_filename
creates and prints a filename representing zipped .csv file
that would contain fatalities data in a given year in the US
1 | make_filename(year)
|
year |
Numeric or Character String represting a calendar year |
This function converts the mentioned argument (using the year
) into an integer
and creates a zipped .csv file name prefixed with "accident_"
Prints the filename of zipped .csv file
leaving argument blank will lead to an missing argument error as there's no default value
1 2 3 4 5 | ## Not run:
make_filename(2015)
make_filename("2017")
make_filename(17)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.