fars_read: Function for reading your csv files.

Description Usage Arguments Details Value Examples

Description

This function reads your csv file (can be in bz2 zipped format also). If the filename you want to open does not exist, function returns error message and stops.

Usage

1
fars_read(filename)

Arguments

filename

file to be read

Details

filename you are giving to the function fars_read (or the path) must be correct and the file must exist. Otherwise the function returns error and stops.

Value

This function will return the loaded data in the form of a tibble.

Examples

1
2
3
4
## Not run: 
fars_read(system.file("extdata", "accident_2013.csv.bz2", package = "fars"))

## End(Not run)

dkurtoic/fars documentation built on May 7, 2019, 10:38 a.m.