fars_read: Reads a FARS file.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function creates a tbl_df object from the data reading of the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (FARS) once the file name has been given.

Usage

1
fars_read(filename)

Arguments

filename

A string of characters with the name of the FARS file to be read.

Value

A tbl_df object containing the FARS data. If the file name does not exist, the function will stop.

Examples

1
2
3
4
## Not run: 
fars_read(filename = "accident_2014.csv.bz2")

## End(Not run)

Arcturio/mipqueteria documentation built on May 20, 2019, 3:33 p.m.