Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function takes a year or a vector of years as input and gives back a data frame showing the amount of records for each month and each year for each input year from the FARS data.
1 | fars_summarize_years(years)
|
years |
A year or a vector of years for which you assume that FARS data is available, e.g. "2015", c(2014:2015), 2014:2016 |
This function returns the amount of records for each month and year from the FARS data given the argument year.
The function brings up a warning in case the data does not exist for the year provided to the function.
1 2 | fars_summarize_years(2014)
fars_summarize_years(2014:2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.