fars_read: fars_read ()is a function that read in data from a csv file....

Description Usage Arguments Value Examples

View source: R/fars.R

Description

fars_read ()is a function that read in data from a csv file. FARS stand for "Fatality Analysis Reporting System" and is a nationwide census, providing the American public yearly data, regarding fatal injuries suffered in motor vehicle traffic crashes

Usage

1
fars_read(filename)

Arguments

filename

is for the file to be read. if this file name not exist, function will stop and print "does not exist".

Value

This function returns the data to be read

Examples

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

jianweilu/rhomewek documentation built on Aug. 8, 2020, 6:44 p.m.