fars_read: Loads a .csv file in the dataset

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function reads a .csv file named by filename and returns a data frame. If the file does not exist, there is an error message.

Usage

1
fars_read(filename)

Arguments

filename

Path to the .csv file (string)

Value

The function returns a data frame from the read .csv file. If the file does not exist, there is an error message.

Examples

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

## End(Not run)

vnmath/FRAS documentation built on May 18, 2020, 12:06 a.m.