fars_read: Read FARS file

Description Usage Arguments Value Examples

Description

This function checks if the input file exists and then reads it. If the file does not exist the function will stop with an error.

Usage

1
fars_read(filename)

Arguments

filename

A string indicating the path to the csv file with data.

Value

The function returns a tibble with the data in the file.

Examples

1
2
## Not run: fars_read("accident_1995.csv.bz2")
## Not run: fars_read("accident_2010.csv.bz2")

rafaelcb/FARS documentation built on May 12, 2019, 2:03 p.m.