fars_read: Read data from a comma separated value (CSV) file

Description Usage Arguments Value Examples

Description

Note: - file is usually specified by make_filename function - read_csv function from library readr is used - file can be in zipped format -if file doesn't exist an error is thrown

Usage

1
fars_read(filename)

Arguments

filename

character string, may include paths

Value

this function returns a tibble (dplyr::tbl_df)

Examples

1
2
3
4
## Not run: 
data2015 <- fars_read("v:/r/data/accident_2015.csv.bz2")

## End(Not run)

DarkerThanEver/fars documentation built on May 17, 2019, 11:14 p.m.