fars_summarize_years: Monthly number of accident for given years in FARS data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Monthly number of accident for given years in FARS data

Usage

1

Arguments

years

a vector of years for which FARS data file will be loaded and number of accident will be summurized

Value

return NULL for an invalid year. For a valid input, returns list of FARS data in data frame in years and number of accidents

Examples

1
2
3
4
5
## Not run: 
fars_summarize_years(c(2001, 2005, 2007))
fars_summarize_years(c("2001", "2005", "2007"))

## End(Not run)

karimsyed/buildingRPackage documentation built on May 28, 2019, 9:50 a.m.