Description Usage Arguments Details Value Examples
Accepts a list of one or more years and passes that list to fars_read_years(). Receives from that function a data set of data in the month and year column Uses various dplyr functions count the number of observations by month for a year.
1 | fars_summarize_years(years)
|
years |
One or more years, no error checking |
Uses fars_read_years(years)
A wide data frame of counts by month and year,
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(1999)
fars_summarize_years(as.list(1999, 2000, 2001))
fars_summarize_years(1999:2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.