fars_read: Read CSV file

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

Description

Reads a CSV file in and creates a tibble from it. Specify the filename using the filename argument.

Usage

1
fars_read(filename)

Arguments

filename

Either a path to a file, a connection, or literal data. Compressed files will be automatically uncompressed. Files on the web will be automatically downloaded.

Details

Returns an error if filename does not exist.

Value

Returns a tibble based on the specified CSV file.

Examples

1
2
3
4
## Not run: 
accident_2013 <- fars_read("accident_2013.csv.bz2")

## End(Not run)

Davidovich4/building.an.R.package documentation built on May 29, 2019, 2:08 p.m.