Description Usage Arguments Value Note Examples
This function takes a vector of years, select and summarize the observations by year and month contained in the files "accident_YYYYd.csv.bz2". The function will provide the warnings and messages included in the fars_read and fars_read_years functions.
1 | fars_summarize_years(years)
|
years |
= Is a vector containing the years to be evaluated, like c(2013,2014,2015) |
The function fars_summarize_years returns a data frame with the summarized numbers of month and years available in the data
In case that the file does not exist will return the message indicating so. You will need to save the data files in the working directory.
1 2 3 4 5 6 | ## Not run:
fars_summarize_years (c(2013,2014,2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.