fars_read_years: fars_read_years is function that read in multiple files by...

Description Usage Arguments Value Examples

View source: R/fars.R

Description

fars_read_years is function that read in multiple files by years. internal functions need for fars_read_years are make_filename () in this code. external package needed is dplyr. Two functions of it are selection(),mutate().

Usage

1

Arguments

years

is a vector of years as the argument for the fars_read_years() function. if a year not exist, warning message will print "invalid year".

Value

this function returns data files with file names defined

Examples

1
2
##fars_read_years(years = c(2013, 2015)
##fars_read_years(2013:2015)

jianweilu/rhomewek documentation built on Aug. 8, 2020, 6:44 p.m.