fars_read_years: Collects the MONTH and year associated with a fatal car...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Collects the MONTH and year associated with a fatal car incident for each year provided.

Usage

1

Arguments

years

A vector of years which have an associated file in the current working directory.

Value

A list of data frames, each with two columns; MONTH and year. Each row in a data frame represent a fatal car accident in that month and year.

Note

If one of the years specified doesn't have an associated file, and error will be thrown.

Examples

1
## Not run: years <- fars_read_years(c(2013, 2014, 2015))

marshallm94/assignmentr documentation built on Nov. 21, 2019, 6:05 p.m.