fars_read: fars_read

Description Usage Arguments Value Note Examples

Description

This function reads a (compressed) csv file with data of fatal injuries in motor vehicle traffic crashes in the USA.

Usage

1
fars_read(filename)

Arguments

filename

A character string denoting the (compressed) file name

Value

This function returns the input data in a data frame table

Note

This function will give a message "file <filename> does not exist" when the input file does not exist

Examples

1
2
3
4
5
6
## Not run: 
fars_read("data/accident_2013.csv")
fars_read("data/accident_2013.csv.bz2")
fars_read("data/accident_2013.csv.zip")

## End(Not run)

FerrieHeskes/Deel3-week2 documentation built on May 16, 2019, 10:04 a.m.