Description Usage Arguments Value Note Examples
This function create a file name based on a given "year" that is part of the file name.
1 | make_filename(year)
|
year |
= Is the year (integer) of the data that is part of the file name like "accident_2013d.csv.bz2" |
The make_filename function returns the name of the file with the "year" incorporated in the name of the file, like year=2013 to "accident_2013d.csv.bz2".
You will need to save the data files in the working directory in order to avoid error.
1 2 3 4 5 6 | ## Not run:
>example1<-make_filename(2013)
>example1
>accident_2013d.csv.bz2
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.