fars_read: File Reading Function

Description Usage Arguments Details Value Note See Also Examples

Description

This is a function that first checks if a file exists otherwise uses the read_csv function from readr to read the file suppressing the messages during that process. Finally it converts the data read above into a data frame

Usage

1
fars_read(filename)

Arguments

filename

A name for the file to be read

Details

For more information, see:

Value

The data frame created after reading the file filename

Note

To generate file name use: make_filename

See Also

make_filename

Examples

1
2
3
4
## Not run: 
fars_read("accident_2015.csv.bz2")

## End(Not run)

anubhavj/Coursera3Sub documentation built on May 19, 2019, 6:20 p.m.