Description Usage Arguments Details Value Note Examples
This function summarizes the number of observations representing motor vehicle accidents for each month in different years
1 | fars_summarize_years(years)
|
years |
A vector of years where each year is a 4 digit numeric or character string |
This function reads one or more accident dataframes using years
as input and summarizes
in tabular form the number of observations for each month in different years
This function prints a tibble of months as rows, years as fields and number of observations as a table
This function returns an error for invalid years input or no input
1 2 3 4 | ## Not run:
fars_summarize_years(c(2013))
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.