Description Usage Arguments Value Source Examples
This helper function allows the user to create accident data files by year. bz2 files are compressed files, usually on UNIX, for machines that don't support the tar/tarball format
1 | make_filename(year)
|
year |
A year as a string, with no restrictions on format |
a filename in the format 'accident_year.csv.bz2'. As a side effect, the filename is printed by the function.
extdate/accident_year.csv.bz2
1 2 | newFileName <- make_filename('2017')
## Not run: system.file("extdata", "accident_year.csv.bz2", package = "packFars")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.