fars_read: Read file with FARS data

Description Usage Arguments Value Examples

Description

This function takes in US National Highway Traffic Safety Administration's data from .csv file, stored on disk. This data contains 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

name of the file to read. This contains the data

Value

This returns a dataframe after reading the csv file. If no file is present then it returns an error

Examples

1
fars_read('accident_2013.csv.bz2')

njoysavi/Week-4_Building_R_Packages documentation built on May 13, 2019, 4:07 a.m.