Description Usage Arguments Details Value See Also Examples
View source: R/fars_functions.r
From specified years, return the number of fatal accidents per month as included in the (FARS) data. Only data for the years 2013, 2014 or 2015 is available.
1 | fars_summarize_years(years = c(2013, 2014))
|
years |
(integer vector) |
Throws an error if data for specified year does not exist.
Data frame with columns month, and the number of fatal accidents for the specified years.
https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)
1 | ## Not run: fars_read_years(c("2013","2014"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.