fars_read: fars_read

Description Usage Arguments Value Note Examples

View source: R/fars_read.R

Description

Functions fars_read reads a file with filename in table format to create the data frame.

Usage

1
fars_read(filename)

Arguments

filename

a character string giving the name of a file in table format

Value

Function fars_read returns a data frame, with with cases corresponding to lines and variables to fields in the file.

Note

If the file with filename does not exist, the error message would be displayed.

Examples

1
2
fars_read("accident_2013.csv.bz2")
fars_read("accident_2014.csv.bz2")

maianhdang/fars documentation built on Sept. 3, 2017, 9:16 p.m.