fars_read: Read in file with data

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

Function takes in a csv from the Fatality Analysis Reporting System called a FARS file for a user-specified year.

Usage

1
fars_read(filename)

Arguments

filename

A string with filename to be read

Value

A dataframe created from csv file or will return an error if file does not exist

Examples

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

## End(Not run)

bms63/fars documentation built on Nov. 4, 2019, 7:32 a.m.