fars_read: Reads a file from disk in a dataframe.

Description Usage Arguments Value Examples

View source: R/fars_functions.r

Description

Reads a file from disk in a dataframe.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name of the file

Value

If there is a file on disk then the output will be a dataframe. If the file doesn't exist stops execution and print an error message.

Examples

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

## End(Not run)

constantin345/minifars documentation built on May 7, 2019, 1:29 p.m.