fars_read: Load csv data This function checks whether data (in CSV...

Description Usage Arguments Value Examples

Description

Load csv data This function checks whether data (in CSV format) exists in current woring directory, and if "yes", loads it into workspace. The progress printed in console can be switched off by assigning progress = FALSE.

Usage

1
fars_read(filename)

Arguments

filename

A character string with the name of csv file that is looked for in current directory.

Value

This function returns table if specified csv file exists in working directory. Otherwise it stops and notifies that file does not exist.

Examples

1
2
3
4
## Not run: 
data<-fars_read(filename="foo.csv")
data<-fars_read(filename="foo.csv", progress=FALSE)
## End(Not run)

Yailama/assignment4 documentation built on May 10, 2019, midnight