fars_read: fars_read - reading data file

Description Usage Arguments Value Note Examples

Description

This is a function that read the dedicated file in CSV format and output as a dplyr tbl_df.

Usage

1
fars_read(filename)

Arguments

filename

A character string that specific the file to read

Value

This function returns the data file as a dplyr tbl_df.

Note

Error when file does not exist

Examples

1
2
3
myfile <- "accident_2014.csv.gz2"
## Not run: dataset <- fars_read(myfile)
## Not run: dataset <- fars_read("accident_2013.csv.gz2")

Cheukting/fars documentation built on May 29, 2019, 5:56 p.m.