fars_read_years: Processes data from the wanted years

Description Usage Arguments Value Examples

Description

It processes data for a given year to obtain the crashes from each month. If the years selected does not exist it returns an error.

Usage

1

Arguments

years

An integer vector with the year(s) to use.

Value

A list of data.frames, each data.frame (tibble in this case) contains two columns month and year and a row for each fatal accident.

Examples

1
## Not run: fry <- fars_read_years(2011:2015)

rmartinvazquez/ffrmv documentation built on May 23, 2019, 3:13 p.m.