fars_read: Load data file

Description Usage Arguments Value Examples

View source: R/farsfunctions.R

Description

This function reads a the USA National Highway Traffic Safety Administration NHFTS Fatality Analysis Reporting System FARS /hrefhttps://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars format data file and returns a tibble.

Usage

1
fars_read(filename)

Arguments

filename

A character string of the name of the file to be read

Value

This function returns a tibble of the data file and prints the first 10 rows to the console.

Examples

1
fars_read("accident_2013.csv.bz2")

csgbloom/farspackage documentation built on May 20, 2020, 10:15 a.m.