fars_read: Read file into a dplyr's data frame tbl

Description Usage Arguments Value Examples

Description

This function reads a file by firstly checking that a file with that name exists and if it does, it converts it into a data frame table

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the file's name the function will read

Value

This function returns a error message either if the file's name does not exits or a data frame table representing the data of the file

Examples

1
2
fars_read(filename = "~/accident_2015.csv.bz2")
fars_read("mistake_file_name")

pez-espada/fars documentation built on May 28, 2019, 4:39 p.m.