fars_read: Load the csv data into R as tbl_df

Description Usage Arguments Value Examples

Description

This function will use the readr::read_csv to load the .csv file into R and turn the data into tbl_df data structure

Usage

1
fars_read(filename)

Arguments

filename

str, the input file's name

Value

this function will return a tbl_df data , if the filename not exist in current directory, show error message

Examples

1
2
3
4
## Not run: 
fars_read(filename="./data/accident_2003.csv.bz2")

## End(Not run)

weitinglin/TestCreate documentation built on May 5, 2019, 8 p.m.