Simple auxiliary to load a CSV dataset

If a .atr file is present, this will be loaded as well. A .atr is present if the csv file has been created using the export function from the IQRdataGENERAL object. Loading the .atr information will give metadata as attributes about covariates etc.

IQRloadCSVdata(filename)

Arguments

filename

Path/filename to the raw or zipped csv dataset. Supports files ending with .csv or .csv.gz. See data.table::fread() for details.

Value

A data.frame with the contents of the CSV file

Details

na.strings=c("."," ","","NA","NaN"),stringsAsFactors=FALSE

See also

Other General Data I/O: IQRloadSASdata(), IQRoutputCSV(), IQRoutputXPT(), IQRsaveCSVdata()

Author

Henning Schmidt, Daniel Kaschek, Daniel Lill, IntiQuan