Description Usage Arguments Value Examples
This function extracts months and years of every FARS file within the years specified. An error is retuned for invalid years specified when the FARS file doesn't exits for that year
1 | fars_read_years(years)
|
years |
a vector of integers or strings with the year of the FARS data files |
a list of FARS months and years based on the FARS files specified by the years input
1 2 3 4 5 | ## Not run:
my_data <- fars_read_years(c(2013, 2014, 2015))
my_data <- fars_read_years(c("2013", "2014", "2015"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.