fars_read: Read NHTSA FARS data file

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Reads a Fatality Analysis Reporting System (FARS) data file in CSV format and creates a tidyverse tibble from it.

Usage

1
fars_read(filename)

Arguments

filename

A path to a file or a connection. Compressed files in with .gz, .bz2, .xz, or .zip formats supported.

Value

Data frame.

Examples

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

## End(Not run)

avidclam/building.an.r.package documentation built on May 12, 2018, 12:50 a.m.