Description Usage Arguments Value Note Examples
This function creates a summary table displaying the number of accidents for each month and year
1 | fars_summarize_years(years)
|
years |
A list of years for the user wants to see the summary, or a single year expressed as a four digit numeral |
This function returns a table with the months aggregates of accidents (in rows) for each year (in columns)
Please note that if one of the specified years is not present in the dataset an error message is returned specifying which year is invalid (not found).
1 2 | ## Not run: summary1 <- fars_summarize_years(2014)
## Not run: summary2 <- fars_summarize_years(list(2013, 2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.