fars_read: Read data from file.

Description Usage Arguments Value Warning Examples

View source: R/fars_functions.R

Description

The function returns a tbl_df object which contains data from a file which path is filename.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the path to file from which data will be read.

Value

A tbl_df object with data on which path is a filename.

Warning

filename value should be a string and file should exist in the current working directory in other cases it will throw an error.

Examples

1
2
3
fars_read('accident_2013.csv.bz2')
fars_read(make_filename(2013))
fars_read(paste('data/', make_filename(2013)))

resistendi/fars documentation built on Nov. 5, 2019, 3:06 a.m.