fars_read: Read filename as a data frame tbl.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a wrapper function to read a file and return it as a data frame tbl. The function stops if the provided filename does not exist. If it does exists it reads the file as a csv file without progress bar and without returning diagnotstic messages.

Usage

1
fars_read(filename)

Arguments

filename

The name of the file which is to be read. This file must be a valid csv file.

Value

A data frame tbl of the data contained in filename.

Examples

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

## End(Not run)

gticket/buildingRPackages documentation built on May 17, 2019, 8:57 a.m.