fars_read_years: Read a list of years' accident files

Description Usage Arguments Details Value

View source: R/fars.R

Description

Read in a list of different years' accident files, add year info as a column for each data frame, and choose MONTH and year columns for futher analysis, if the input of year is invalid, it will give a message and return no result.

Usage

1

Arguments

years

A list of numeric values standing for years

Details

If years is not invalid number for years, a warning will be issused.

Value

A list of data frames with two columns in each of them, MONTH and year


ynren1020/fars documentation built on July 16, 2020, 1:56 a.m.