fars_read: Reads a csv file and transforms it into a table

Description Usage Arguments Value Note Examples

Description

This function reads a file having filename as file name. If the file exists, the csv file is read and converted into a table format.

Usage

1
fars_read(filename)

Arguments

filename

A character string indicating the name of the file

Value

This function returns the table with the data present in the file

Note

The function returns an error if the file does not exist

Examples

1
2
3
4
## Not run: 
fars_read(filename="accident_2014.csv.bz2")

## End(Not run)

bibagitbub/farspackage documentation built on May 12, 2019, 8:29 p.m.