fars_read: Silent read of csv file into a tibble

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

Description

This function allows for reading a comma separated values and transforms them into tibble objects. After checking that the file exists, the function suppress messages produced by read_csv().

Usage

1
fars_read(filename)

Arguments

filename

Either a path to a file or a file name (a single string).

Details

The function will not work correctly if provided with a wrong filepath or if a file is not a csv object.

Value

This function returns a tibble object, exported from the user's csv file.

Examples

1
2
fars_read("accident_2013.csv.bz2")
my_df <- fars_read("accident_2013.csv.bz2")

Liddlle/exmplr documentation built on May 18, 2019, 1:34 p.m.