fars_read: Read and convert file to data frame

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function reads a csv file and converts to a tibble data frame

Usage

1
fars_read(filename)

Arguments

filename

Name of the input csv file

Value

If input file doesnt exist, this function will stop execution and return error else it will return tibble data frame object of input file

Examples

1
tryCatch({fars_read("accident_2015.csv.bz2")}, error = function(e){NULL})

sandeepbm/FARSFunctions documentation built on May 17, 2019, 7:58 a.m.