fars_read: Read a FARS file

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function reads a file, to be precise a file from Fatality Analysis Reporting System. We can pass a file name to read (using the filename argument).

Usage

1
fars_read(filename)

Arguments

filename

A character.

Value

This function returns a dataframe table.

Note

This function will throws an error if the filename doesn't exist.

Examples

1
2
3
4
5
6
## Not run: 
	fars_read("fars_data.csv")
	fars_read(filename = "fars_data.csv")
	fars_read("data/accident_2013.csv")

## End(Not run)

GopalSeshadri/MyFirstPackage documentation built on May 6, 2019, 6:30 p.m.