Rdocumentation
powered by
Learn R Programming
prepdat (version 1.0.8)
read_data: Reads a File in a txt or csv Format that Contains a Table and Creates a Data Frame from it
Description
Reads a File in a txt or csv Format that Contains a Table and Creates a Data Frame from it
Usage
read_data(file_name, file_path = NULL, notification = TRUE)
Arguments
file_name
A string with the name of the file to be read into R. The string should include the file extension.
file_path
A string with the path to the folder in which the file to read is located. Default is
NULL
.
notification
Logical. If
TRUE
, prints messages about the progress of the function. Default is
TRUE
.
Value
A data frame of the table specified in
file_name
.