fars_read: Import data from given filename

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function reads a csv file defined by filename if the file can be found in the directory and returns a data frame. If the file cannot be found, the function halts and throws "file does not exist" error message.

Usage

1
fars_read(filename)

Arguments

filename

The name of the csv file to be read.

Value

This function returns a data frame of the data read.

Examples

1
## Not run: fars_read("accident_2013.csv.bz2")

yecong/accdata documentation built on Sept. 8, 2018, 9:30 p.m.