Description Usage Arguments Details Value Examples
This is a function that loads data for a list of years and summarizes the data by year and month and returns the data in a tidy data format.
1 | fars_summarize_years(years)
|
years |
A vector of strings or integers giving the years to retrieve |
If a accident file with standard naming convention is not in currect working, a "invalid year" warning is generated.
a data_tbl with a row for each month of a year and a column with the number of accidents
1 2 3 4 5 | ## Not run:
fars_summarize_years(c(1999,2000,2001))
fars_summarize_years(c("1999","2000","2001"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.