fars_read: Read fars files

Description Usage Arguments Details Value Examples

Description

Read a fars file returning the imported data_frame.

Usage

1
fars_read(filename)

Arguments

filename

(chr) Complete path to the fars file to read.

Details

An error is returned if the path is not valid.

Fars file has to be stored in a CSV file format. It can be possibly compressed (see file).

Value

A data_frame.

Examples

1
2
3
4
5
6
7
## Not run: 
   file_path <- system.file("tests", "testthat", package = "weektwo",
       "accident_2013.csv.bz2"
   )
   fars_read(file_path)

## End(Not run)

CorradoLanera/weektwo documentation built on May 8, 2019, 12:51 p.m.