fars_read: Read in data from a csv file ## A note from the author: ###...

Description Usage Arguments Details Value Note Examples

Description

fars_read returns a data.frame with data from the supplised csv file.

Usage

1
fars_read(filename)

Arguments

filename

a character vector of filename of a csv file to read

Details

The function takes a character vector of a path of a filename to read into R. If the filename does not exist the function will stop and an error will be thrown.

Value

this function returns a dataframe of the data read in from a csv file

Note

fars_read depends on read_csv and tbl_df from the readr and dplyr packages respectively

Examples

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

## End(Not run)

Kazim1212/fars_package documentation built on May 28, 2019, 4:31 a.m.