fars_read_years: Read FARS data into list of months

Description Usage Arguments Value Examples

Description

Read downloaded data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System into a list of months available per year.

Usage

1

Arguments

years

A list of wanted years in the format yyyy (four digits)

Value

A list of data frames, with one entry per year. Each data frame has a column with the month of each row from the original file and a column year.

If the file for a year is not found, a warning will be issued, and the corresponding entry in the list is set to NULL.

Examples

1
2
3
4
## Not run: 
fars_read_years(2013:2016)

## End(Not run)

danielmoralesx/dmorales.fars documentation built on May 10, 2019, 1:09 a.m.