fars_summarize_years: Count accidents for month and year

Description Usage Arguments Value Examples

Description

Comptutes the total number of accidens from FARS data for given years

Usage

1

Arguments

years

vector of four digit years either as numbers or as character strings. The years must correspond to one file previously downloaded in the current working directory, otherwise the function returns NULL

Value

data.frame with the total number of accidents for every month and year given in years

Examples

1
2
3
4
5
6
## Not run: 
fars_summarize_years(c("2013", "2014"))
fars_summarise_years(2015)
fars_summarise_years(2012)

## End(Not run)

MartinPons/fars documentation built on May 7, 2019, 3:38 p.m.