Description Usage Arguments Details Value Examples
This function retreves the data for requested years and summarizes the data in a table for each month.It uses fars_read and make_filename and fars_read_years functions contained in this package. Function also uses dplyr and tidyr packages.
1 | fars_summarize_years(years)
|
years |
this parameter takes a vector of numbers that represent the desired years as an input. |
This function expects to get the years as numbers in YYYY format and have the relevant .csv.bz2 files in the working directory. The function sends a warning message for each year file it wasn't able to locate.
the function returns a table that provides monthly number of incidents for each year.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.