fars_read: Reads a CSV file as a tibble (tbl_df).

Description Usage Arguments Details Value Note Examples

Description

Reads a CSV file as a tibble (tbl_df).

Usage

1
fars_read(filename)

Arguments

filename

string path to a CSV file to be read. The path may be absolute or relative to the current working directory.

Details

Data is from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (FARS).

Value

tbl_df representation of the data in the input CSV file.

Note

Fails when there is no file with the given 'filename'.

Examples

1
    # my_tbl <- fars_read("inst/extdata/fars_data/accident_2013.csv.bz2")

jimtyhurst/FARSUtil documentation built on May 30, 2019, 11:42 a.m.