Description Usage Arguments Value Examples
The input is a list of four digit years. The output is a tibble with one row per month,
and one column per year of the number of fatal accidents. If any of the input values
for year cannot be interpreted by as.integer, or if there is not a data
file for a year, a message is printed warning of an invalid year. Valid years are
processed
1 | fars_summarize_years(years)
|
years |
A list of four-digit years |
tibble with number of fatal accidents in a tabular format
1 2 3 | ## Not run: fars_summarize_years(list(2012))
## Not run: fars_summarize_years(list("2012","2014"))
## Not run: fars_summarize_years(list(2012:2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.