Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_summarize_years
diplays a summary of the number of US
accidents per month for each year
1 | fars_summarize_years(years)
|
years |
vector of years to get accidents/month summary data for |
a matrix containing 12 rows (for each month) and one column for each year with the total number of accidents for that particular month in that particular year. A warning is returned for each year that does not have a corresponding "accident_<year>.csv.bz2" file.
1 2 | ## Not run: fars_summarize_years(2015)
## Not run: fars_summarize_years(c(2013,2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.