fars_read: Create a dataframe table from the given csv filename. Should...

Description Usage Arguments Value Note Examples

View source: R/io.R

Description

Create a dataframe table from the given csv filename. Should the filename not exist, then, an error is raised.

Usage

1
fars_read(filename)

Arguments

filename

The file to read from.

Value

dplyr tbl_df instance of the file content.

Note

No progress bar will be shown while reading the file.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
csv <- fars_read('avalid_filename.csv')
> class(csv)
[1] "tbl_df"     "tbl"        "data.frame"
invalid <- fars_read('does_not_exist.csv')
Error in fars_read("does_not_exist.csv") :
 file 'does_not_exist.csv' does not exist

## End(Not run)

balajiambreshrajkumar/fars documentation built on May 28, 2019, 6:36 p.m.