Description Usage Arguments Value Examples
This function takes as input a list of years and returns a summary of the data from US National Highway Traffis Safety Administration's Fatality Anlaysis Reporting System (FARS) for those years.
1 | fars_summarize_years(years)
|
years |
List of years. Each year will be coerced to an integer with |
A tibble containing the number of entries in the FARS data for each month of the given years. First column is the month, and subsequent columns for each year. If a year is invalid, then a warning message is issued.
1 2 | library(FARS)
fars_summarize_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.