Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function summarizes Fatality Analysis Reporting System
data for the years (using the years
argument) and returns
a data.frame of the number of fatality cases (accidents) per each month
for the years specified.
1 | fars_summarize_years(years)
|
years |
A vector of years |
A data.frame of the number of fatality cases per each month (rows) for the years(columns)
Any invalid year in the vector of years is ignored for summary, with warning messages "invalid year: yyyy"
1 2 3 4 | ## Not run:
head(fars_summarize_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.