Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
FARS = Highway Traffic Safety Administration's Fatality Analysis Reporting System
1 | make_filename(year)
|
year |
a character string or a integer that is a year, eg. "2014" |
a character string, a file name for FARS data for the given year
If the input can't be coerced to an integer, a NA is introduced with warning
1 2 3 | fars_data_file_name <- make_filename("2014")
print(fars_data_file_name)
## Not run: "accident_2014.csv.bz2"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.