fars_read: Print "Fars Read"

Description Usage Arguments Value Examples

Description

This is a simple function that takes a filename (provided by user with filename argument), checks if file exists and if so reads the files contents as a csv and outputs the data as a tbl. Errors could result from the file being a format the cannot be read by readr::read_csv

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name of the file to be read

Value

This function returns the data in user-provided filename as a tbl.

Examples

1
2
3
4
## Not run: 
fars_read('myfile.csv')

## End(Not run)

osserman/farsSO documentation built on May 5, 2019, 3:54 p.m.