fars_read: Read a FARS file

Description Usage Arguments Value Examples

Description

This functions checks to see if a given file exists, and if it does, it reads it in and returns the data as a data frame. If the file does not exist, it returns a message that the file does not exist

Usage

1
fars_read(filename)

Arguments

filename

a character string representing the name of the file to be read

Value

This function returns a data frame consisting of the data read in from the given file name, or a message that the file does not exist

Examples

1
2
## name <- "accident_2013.csv.bz2"
## fars_read(name)

alphaecho1229/Week4Assessment documentation built on May 12, 2019, 10:30 p.m.