fars_read: Reads in a file

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Reads in the specified filename in df using readr. Messages are suppressed. If the filame doesn not exist, a message is displayed.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the filename to be read in

Value

This function returns a dataframe containing the data in the filename if it existst. In case filename doesn't exist, an error is displayed.

Examples

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

## End(Not run)

MMJansen/MyWeek4Package documentation built on May 3, 2019, 4:30 p.m.