fars_read: Loads a CSV file

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function loads a CSV file defined by filename argument and returns a tibble. If the path is incorrect the function will end with an error.

Usage

1
fars_read(filename)

Arguments

filename

Path to the CSV file (character)

Value

The function returns a tibble (data.frame) based on the CSV file.

Examples

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

## End(Not run)

volansys/r-package-building documentation built on May 3, 2019, 6:40 p.m.