fars_read: Read files

Description Usage Arguments Details Value Warning Author(s) References Examples

Description

The function read data from files specified by the user

Usage

1
fars_read(filename)

Arguments

filename

the file name of the data source is the input character vector. I could be defined by the user of other application. If the file does not exist the function is terminated and the proper message is generated.

Details

The function uses readr::read_csv() to read input data

Value

the function return the dataframe of 'tbl_df' class.

Warning

Stop reading if the file does not exist.

Author(s)

Demyd Dzyuban

References

No references are assumed.

Examples

1
# input_data <- fars_read("data_source.txt")

demydd/Rpackagebuild documentation built on May 12, 2019, 6:27 p.m.