fars_read: Read csv file and return it as a tibble dataframe

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Reads data from bzipped csv files from the US National Highway Traffic Safety Administrations's Fatality Analysis Reporting System

Usage

1
fars_read(filename)

Arguments

filename

A filepath character string of a csv file to be read to a tibble

Value

Returns a tibble of the csv

Note

Will create an error if the file does not exist at the path

Examples

1
2
3
4
5
6
7
## Not run: 
path <- "accident_2013.csv.bz"
fars_read(path)

fars_read("accident_2013.csv.bz")

## End(Not run)

tgadamson-ds/fars documentation built on Aug. 19, 2018, 3:45 a.m.