fars_read: This is a function that creates a data.frame from a csv file...

Description Usage Arguments Value Examples

Description

This is a function that creates a data.frame from a csv file (can be zipped .bz2) specified using filename argument.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the location of the csv file

Value

A data.frame object if the csv file exists. Otherwise the function stops with a "file does not exist" error.

Examples

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

## End(Not run)

KuanYang/fars documentation built on May 20, 2019, 7:54 a.m.