Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function take year or list of years as aurgument and returns list of yearwise months and years from the FARS file for the inputted years.
1 | fars_read_years(years)
|
years |
a character string or numeric or a list of character stings/ numeric specifying year/ years |
a list of months and years from the FARS files for the inputted years
.
The function throws a warning of invalid year if the file with year in the name is not found. Also must be in the current working directory
1 2 3 4 | ## Not run: fars_read_years("2013")
## Not run: fars_read_years(2013)
## Not run: fars_read_years(c(2012, 2013, 2014, 2015))
## Not run: fars_read_years(c("2012", "2013", "2014", "2015"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.