fars_read: Read a CSV format file into a data frame.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function determines if filename argument) exists and stops grecefully if it does not. If filename exists than the contents are returned as a data frame. If filename does not exist then nothing is returned, or assigned, but no error or warning is generated.

Usage

1
fars_read(filename)

Arguments

filename

A character string with the name of a file. Relative or absolute paths may be used to locate the file in the string.

Value

This function returns a data frame constructed from the file contents.

Examples

1
2
3
4
5
## Not run: 
#' fars_read(inputfile)
fars_read("another.csv")

## End(Not run)

geogaffer/week4fars documentation built on Jan. 1, 2021, 2:18 a.m.