fars_read: fars_read()

Description Usage Arguments Value Note Examples

View source: R/documents.R

Description

fars_read reads FARS data .csv and converts it to tibble i.e. dplyr::tbl_df(). it used with fars_summarize_years, fars_read_years, make_filename and fars_map_state.

Usage

1
fars_read(filename)

Arguments

make_filename

A string of characters located in WD

Value

This function returns a tibble of FARS data. As a side side effect, it also prints the tibble.

Note

if filename is not in WD than it returns an error

Examples

1
fars_read("accident_2015.csv.bz2")

Centurione/FARS_Package documentation built on Dec. 30, 2019, 6:01 p.m.