Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
generates 12-by-n monthly summary data for the n-years in question
1 | fars_summarize_years(years)
|
years |
list of years to return the data |
The function binds all the rows returned in the yearly dataframes by fars_read_years and computes the monthly summaries and converts the summary into a 12 row monthly dataframe with one column per row
the dataframe may have less than 12 rows if the summary data doesn't exist for any particular row
a dataframe that contain up to 12 rows of data with one column of summary data per input year
1 2 3 4 5 | ## Not run:
fars_summarize_years(c("2013","2014","2015"))
fars_summarize_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.