fars_read: fars_read

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

read the file into R by file name.

Usage

1
fars_read(filename)

Arguments

filename

the name of file that contains the data of interest. the file name con be contructed using another function make_filename in the same package

Value

data in the format of data_frame

Note

Where the working directory does not contain the furnished file name, an error meesage stating that file doesnot exist will appear. this function is for internal use only, not exported.

Examples

1
2
3
4
5
## Not run: 
filename <- make_filename(2015)
data_2015 <- fars_read(filename)

## End(Not run)

jye56/funcFARS documentation built on Nov. 29, 2017, 7:20 p.m.