Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function reads years and months from data for a given set of years. The number of accidents by year and by month.
1 | fars_summarize_years(years)
|
years |
A numeric or character vector containing years for which, the data will be read. |
A tbl data frame containing the number of accidents summarized by year and by month.Bad year argument or missing files will produce an error.
1 2 3 4 5 | ## Not run:
fars_summarize_years("2013")
fars_summarize_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.