fars_read_years: Read files with fars data

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function gets an array of string or int with years and returns a list of fars data corresponding to years inputed or a warning that there is not a fars file in a specific year

Usage

1

Arguments

years

Vector of string or integer containing years

Value

This function returns a list of tbl_df objects

Note

It generates a warning if there isn't a file with supplied year in name

Examples

1
2
3
## Not run: fars_read_years(c(2013, 2014, 2015))
## Not run: fars_read_years("2014")
## Not run: fars_read_years(1910)

danielfsilva88/ex4fars documentation built on April 5, 2020, 10:07 p.m.