fars_read: Read fars data from file

Description Usage Arguments Value Examples

View source: R/farsfunctions.R

Description

This function is a specialized data reading function for fars data. fars_read is a wrapper for read_csv with added functionality to output an object of class tbl_df instead of a data.frame.

Usage

1
fars_read(filename)

Arguments

filename

A character string for the file path to the fars data file to be read. filename must resolve to an existing file or function will error.

Value

This function returns an object of type tibble, which itself is an enhanced data.frame object. Please see tibble package for details on tibble-package objects.

Examples

1
## Not run: fars_read("accident_2013.csv.bz2")

JJNewkirk/Rfars documentation built on May 7, 2019, 10:12 a.m.