fars_read: Read .csv data file

Description Usage Arguments Details Value Note Examples

Description

This function check for the existance of a given filename, and if the .csv file exist, it read it and convert it into dataframe.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name or path of the csv file to be read. Accepts compressed csv file.

Details

If the filename you provide does not existe, the function stops and return an error message

Value

This function returns a dataframe with data read from a .csv file.

Note

read_csv is evaluated in a context that ignores all ‘simple’ diagnostic messages. See: message

Examples

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

## End(Not run)

frenkg/courserafarsfg1 documentation built on May 16, 2019, 2:55 p.m.