fars_read: Read a delimited file into a tibble

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

Description

This function reads a comma separated value file data.

Usage

1
fars_read(filename)

Arguments

filename

A character string to be supplied to function to read and it does not have default value.

Details

it first checks whether the file exists in the current working directory. If the file doesn't exist it throws an error, otherwise it reads the file and transforms it into a tibble.

Value

This function returns a tibble.

Examples

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

## End(Not run)

AnoushiravanR/fars documentation built on Jan. 19, 2021, 5:16 p.m.