Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that summarises the number of accidents per year and month.
1 | fars_summarize_years(years)
|
years |
A numeric or character vector contining the year(s) for which the data should be summarized. |
This function returns a data frame with number of accidents summarized per year and month.
1 2 3 4 | fars_summarize_years(2013)
fars_summarize_years("2013")
fars_summarize_years(c(2013, 2014))
fars_summarize_years(c("2013", "2014"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.