Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function reads in the report accidents for the given years, reads the corresponding files into tibbles, and keeps only the month and year of a given accident. It then returns a list of the cleaned up data as a list.
1 | fars_read_years(years)
|
years |
A list or vector of years |
A list of cleaned up dataframes containing the 'MONTH' and the 'year' of each accident
An invalid year will generate a NULL element, and a warning message will be printed.
1 2 3 4 | ## Not run:
fars_read_years(c(2013, 2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.