fars_read: The following functions read, summarize and plot data from...

Description Usage Arguments Details Value Examples

Description

Data reading by file name

Usage

1
fars_read(filename)

Arguments

filename

the name of the file containing the data to be read.

Details

This function reads a FARS file and creates a data frame table. The file name is generated by the function make_filename.

Value

This function returns a data frame table when the file exists. An error is given if the file doesn't exist. The file has to be located in the present working directory

Examples

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

## End(Not run)

ykv001/FARSpckgwk4 documentation built on May 6, 2019, 12:05 a.m.