Description Usage Arguments Value Note Examples
This function summarizes the number of incidents by month and year in FARS data and returns a dataframe.
1 | fars_summarize_years(years)
|
years |
A numerical vector representing years to read in the dataset(s) |
This function returns a dataframe summarizing the number of FARS incidents by month and year. The datframe includes a column for MONTH and a column for each year summarized.
the function will throw an error if the year
supplied is not found in the dataset(s) or is not a number
1 2 | ## Not run: fars_summarize_years(2013:2015)
## Not run: fars_summarize_years(not_a_number)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.