Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_summarize_years()
counts data rows for
each (year, MONTH) tuple within the specified year range.
This function calls fars::fars_read_years
to read
the source data.
1 | fars_summarize_years(years, internal = TRUE)
|
years |
Integer vector containing one or more years. |
internal |
Logical value indicating whether or not the package example data is used. Defaults to TRUE. |
Returns a pivot table/crosstab of observation counts generated using
functions from dplyr and tidyr. Columns are 'year', rows are 'MONTH'.
The object returned is a tibble.
The conditions that may result in an error are the same as documented for
fars::fars_read_years
.
1 | fars_summarize_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.