Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
This is a function that, generates specific filename
needed to access the file of anual FARS data specified by year
argument.
Filemane generated by this function could be used by fars_read
function.
1 | make_filename(year)
|
year |
numeric vector that specifies the year for which the filename will be generated |
If used inside fars_read single number agrument recommended
This function returns a character string
1 2 3 4 5 | ## Not run:
make_filename(2014)
fars_read(make_filename(2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.