Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function provide the summary of count for each month of an year for the years passed as argument.
1 | fars_summarize_years(years)
|
years |
a character string or numeric or a list of character stings/ numeric specifying year/ years |
a table summarizing the FARS data monthwise for the each inputted year.
The function throws a warning of invalid year if the file with year in the name is not found. Also must be in the current working directory
1 2 3 4 | ## Not run: fars_summarize_years("2013")
## Not run: fars_summarize_years(2013)
## Not run: fars_summarize_years(c(2012, 2013, 2014, 2015))
## Not run: fars_summarize_years(c("2012", "2013", "2014", "2015"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.