fars_read: Reading data from the Fatality Analysis Reporting System The...

Description Usage Arguments Value Examples

Description

Reading data from the Fatality Analysis Reporting System The fars_read function reads data file into a dplyr data table. If the data file does not exist in the working directory, this function throws an error.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving a filename.

Value

The function reads the given file and creates a dplyr data table from it. If file with the given name does not exist, the function returns an error message.

Examples

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

## End(Not run)

ortzsu/farspractise documentation built on May 24, 2019, 3:58 p.m.