fars_read_years: Reads in multiple files

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

From given years in numbers, this function tries to read in the corresponding data sets, and selects months and year

Usage

1

Arguments

years

A vector of numbers or character string with numbers

Value

For each element of the input vector, This function returns the month and year column of dataframe containing the data in the filename if it existst. In case filename doesn't exist, an error is displayed.

Examples

1
2
3
4
## Not run: 
fars_read_years(c(2013,2014))

## End(Not run)

MMJansen/MyWeek4Package documentation built on May 3, 2019, 4:30 p.m.