fars_read: Read a csv File

Description Usage Arguments Value Examples

Description

This function reads a csv file into R and returns a dataframe. It is internal to this package.If the file name does not exist, an error is generated and the function stopped.

Usage

1
fars_read(filename)

Arguments

filename

the name of the csv file to be read. File should be in the same working directory as the R code or an error will be generated.

Value

function returns a dataframe or an error if the file does not exist.

Examples

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

## End(Not run)

EdwardKoonce/farsSimple documentation built on May 23, 2019, 3:11 p.m.