Description Usage Arguments Value Examples
This function (make_filename) creates a string containing a filename. The user input year is converted to an integer. The year is then incorporated into a string with prefix "accident_" and suffix ".csv.bz2".
1 | make_filename(year)
|
year |
A string or integer giving the year to use in the filename |
This function returns a string containing the filename for motor vehicle crashes in a particular year. An warning message is returned if the input value cannot be coerced to an integer value.
1 2 3 4 5 6 | ## Not run:
make_filename(2013)
make_filename("2013")
make_filename(year=2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.