fars_read: Loads a CSV file

Description Usage Arguments Details Value Examples

Description

This function reads in raw data from a csv file

Usage

1
fars_read(filename)

Arguments

A

character string providing the name of the csv file to load

Details

Will return an error message if the file does not exist

Value

The function returns a tibble (data.frame) from the CSV file loaded

Examples

1
2
3
4
5
## Not run: 
accident_2014 <- fars_read("./data/accident_2014.csv.bz2")
accident_2015 <- fars_read("./data/accident_2015.csv.bz2")

## End(Not run)

agusdon/fars-2 documentation built on May 10, 2019, 7:35 a.m.