Description Usage Arguments Value Examples
View source: R/fars_functions_documentation_v2.R
This function generates a summary of accidents per month and year from FARS data by reading in the file(s) with the FARS data for one or more years.
1 | fars_summarize_years(years)
|
years |
A single numeric or character string specifying a year or a vector of numerics or character strings of year(s). |
This function returns a tibble with a row for each month and columns for each year. The entries in the cell correspond to the number of accidents in that month and year.
1 2 3 | fars_summarize_years(2015)
fars_summarize_years(c(2013, 2014))
fars_summarize_years(c("2014", "2013"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.