fars_read: Read FARS data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function is used to import Fatality Analysis Reporting System (FARS) data. It is not specific to FARS. Error will be thrown if file does not exist.

Usage

1
fars_read(filename)

Arguments

filename

path to CSV file to be read (compressed CSV files will be uncompressed automatically)

Value

a tibble containing data

Examples

1
2
3
4
5
## Not run: 
fars_read("accident_2013.csv.bz2")
fars_read("accident_2014.csv.bz2")

## End(Not run)

nirmalpatel/farsdata documentation built on Aug. 7, 2019, 2:55 a.m.