Description Usage Arguments Value Examples
View source: R/fars_function.R
fars_summarize_years A funtion that summarise how many accident per year and month are registered in the FARS dataset.
1 | fars_summarize_years(years)
|
years |
A character or numeric vector containing the years to summirise. |
returns a dataframe (more exactly a tbl_df from dplyr) with the number of accident per Year/Month in the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System. It will return a warning if the years are not presented in the dataset.
1 2 3 4 5 | ## Not run:
fars_summarize_years(c(2014,2015))
fars_summarize_years(c('2013','2014'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.