fars_read: Data Input

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Reads a file in table format and creates a data frame table from it.

Usage

1
fars_read(filename)

Arguments

filename

the name of the file which the data are to be read from.

Value

returns a data frame table if the file exists, throws an error if the file doesn't exist. If the filename does not contain an absolute path, the filename is relative to the current working directory, getwd().

Examples

1
2
3
4
## Not run: 
  fars_read("accident_2013.csv.bz2")

## End(Not run)

mdelcorvo/farsr documentation built on Sept. 16, 2017, 12:09 a.m.