fars_read: Read the Fatality Analysis Reporting System data into R

Description Usage Arguments Value Note Examples

Description

This function reads the csv file into the local environment and returns a data frame.

Usage

1
fars_read(filename)

Arguments

filename

A character string that gives the name of the file to be read.

Value

This function returns a data frame.

Note

A warning is given if the file does not exist.

Examples

1
fars_read(system.file("extdata", "accident_2013.csv.bz2", package = "mvfars"))

MaryLvV/mvfars documentation built on May 7, 2019, 3:40 p.m.