fars_read: Read data

Description Usage Arguments Value Examples

Description

This is a function that will read a csv file and transform it into a data frame tbl (using dplyr::tbl_df(data)) only if the pathway given is valid (!file.exists(filename))

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the pathway to the data file

Value

This function returns a data frame called data with a file given.

Examples

1
2
3
4
## Not run: 
data_2014<-fars_read("accident_2014.csv.bz2")

## End(Not run)

Jerry-Master/Assignment4 documentation built on May 13, 2019, 8:19 a.m.