fars_read: –1– fars_read: Reads a csv file.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function reads a csv file defined by filename argument and returns a tibble. If the path is incorrect the function will end and return an error.

Usage

1
fars_read(filename)

Arguments

filename

Path to the csv file.

Value

The function returns a tibble based on the specified csv file.

Examples

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

## End(Not run)

JimMeister/farsdata documentation built on Nov. 18, 2017, 7:45 a.m.