fars_read_years: Creating a list of several FARS dataset

Description Usage Arguments Details Value Examples

Description

This function creates a list of truncated FARS datatsets giving th considered years into a list. Returned FARS datasets are truncated because they only conatines the variables year and month

Usage

1

Arguments

a

list of years

Details

if a unknown year is given into the list of year, an error message is printed indicating that the year is invalid. And so the corresponding element of the returned list is NULL

Value

a list of data frame tbl corresponding to the list of years entered in parameters

Examples

1
dat_list <- fars_read_years(list(2013,2014,2015))

cdv04/MyPckg documentation built on May 13, 2019, 2:48 p.m.