fars_read: Load CSV file into a tibble

Description Usage Arguments Value Note Examples

Description

This function reads CSV file defined by filename, a main argument of the function, and returns a tibble (data.frame).

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the path and name of the CSV file

Value

This function returns a tibble (data.frame) of the input file

Note

This function will give error if the file path is incorrect or file does not exist

Examples

1
2
3
4
5
## Not run: 
fars_read(system.file("data", "accident_2013.csv.bz2", package = "fars"))
accident_2014 <- fars_read(system.file("data", "accident_2014.csv.bz2", package = "fars"))

## End(Not run)

andangshide/farsfunctions documentation built on May 12, 2019, 2:40 a.m.