fars_summarize_years: fars_summarize_years function

Description Usage Arguments Value Note Examples

Description

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.

Usage

1

Arguments

years

= Is a vector containing the years to be evaluated, like c(2013,2014,2015)

Value

The function fars_summarize_years returns a data frame with the summarized numbers of month and years available in the data

Note

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.

Examples

1
2
3
4
5
6
## Not run: 

fars_summarize_years (c(2013,2014,2015))


## End(Not run)

aalvaradob/Prueba1 documentation built on May 9, 2019, 12:52 p.m.