fars_read: Read a csv file with automobile fatalities data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

fars_read Reads a specific csv datafile using the provided filename.

Usage

1
fars_read(filename)

Arguments

filename

The csv filename.

Value

The function will use the provided file_path to load the data contained in the csv in memory. If the file cannot be found, the function will provide an error message.

Examples

1
2
filename <- system.file("extdata", make_filename(2015), package = "rMock")
data <- fars_read(filename)

stasSajin/r-pack documentation built on May 17, 2019, 8:45 p.m.