Description Usage Arguments Value Examples
View source: R/fars_summarize_years.R
Takes a character or integer vector of years and returns a dataframe. The dataframe's first column
is MONTH
and the rest represent the year with each observation representing the month
and number of accidents for each year. Shows a warning for each invalid year.
1 | fars_summarize_years(years)
|
years |
character or integer vector containing the years |
This function returns a tbl_df
representing the summary of number of accients per month for each year.
1 2 3 4 5 | ## Not run:
fars_summarize_years(c(2013,2014,2015))
fars_summarize_years(c("2013","2014","2015"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.