Description Usage Arguments Value Note Examples
This function constructs a filename of the type "accident_<year>.csv.bz2" which can then be
passed to fars_read
to be loaded in the workspace as a tibble.
1 | make_filename(year)
|
year |
A year in %Y format, e.g., |
A filename of the type "accident_<year>.csv.bz2", where year is the input. If a vector of year values is provided, the function will return a character vector of filenames
Input should either be a 4-digit integer year number in %Y format or
coercible to one (e.g., a string "2013"
)
1 2 | make_filename(2013)
make_filename(2013:2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.