fars_read: Function 'fars_read'

Description Usage Arguments Value Examples

Description

This is a function that tries to read in a specified csv file and outputs it as a table if the file has been found or exits with a warning message. Within the data object the content of the csv file is written if filename is found. The option progress = FALSE prevents from displaying a progress bar.

Usage

1
fars_read(filename)

Arguments

filename

It is a string that should contain the filename

Value

This function returns a data table created by the dplyr package. The package dplyr and readr are needed in order to make this package work.

Examples

1
fars_read(system.file("extdata", "accident_2015.csv.bz2", package = "fars"))

FunWithForest/Rpackage_fars documentation built on May 20, 2019, 8:30 a.m.