fars_read: Read FARS data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Creates a dataframe from csv formatted file of data from the US National Highway Traffic Safety Administration's Fatality Analysis #' Reporting System (FARS), which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes. If full file path is not provided, this function will look in the current working directory for the file

Usage

1
fars_read(filename)

Arguments

filename

Name of csv file with FARS data

Value

This function returns a dataframe with FARS data if the file exists

Examples

1
2
3
4
## Not run: 
fars_data <- fars_read(accident_2013.csv.bz2)

## End(Not run)

GustavoBruges/fatalityR documentation built on May 7, 2019, 7:43 a.m.