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,
  FLAGcolonsAsSpaces = FALSE,
  FLAGcatColsAsFactor = FALSE
)

Arguments

filename

Filename of the raw or zipped csv dataset

FLAGcolonsAsSpaces

Logical indicating whether to replace ":::" by spaces in string columns

FLAGcatColsAsFactor

Logical indicating whether to reapply categorical covariate level text values as string or as factor

Value

A data.frame with the contents of the CSV file

Details

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

See also

Other IQRdataGeneral: +.IQRdataGENERAL(), IQRcalcTAD(), IQRdataGENERAL(), IQRexpandADDLII(), IQRsaveCSVdata(), addCovariateInfo_IQRdataGENERAL(), addIndivRegressors_IQRdataGENERAL(), addLabel_IQRdataGENERAL(), attributes0(), blloqInfo_IQRdataGENERAL(), blloq_IQRdataGENERAL(), check_IQRdataGENERAL(), clean_IQRdataGENERAL(), combine_IQRdataGENERAL(), convertCat2Text(), covImpute_IQRdataGENERAL(), date2dateday_IQRdataProgramming(), date2datetime_IQRdataProgramming(), date2time_IQRdataProgramming(), exportDEFINE_IQRaedataER(), exportDEFINE_IQRdataGENERAL(), exportDEFINEpdf_IQRdataGENERAL(), exportSYS_IQRdataGENERAL(), export_IQRdataGENERAL(), getLabels_dataframe(), getNAcolNLME_IQRdataGENERAL(), handleSameTimeObs_IQRdataGENERAL(), is_IQRdataGENERAL(), loadATRinfo_csvData(), loadAttributeFile(), load_IQRdataGENERAL(), mapCategoricalCovariate_IQRnlmeProject(), mapCategoricalCovariate_csvData(), mapContinuousCovariate_IQRnlmeProject(), mapContinuousCovariate_csvData(), mutateCov_IQRdataGENERAL(), obfuscate_IQRdataGENERAL(), plot.IQRdataGENERAL(), plotCorCat_IQRdataGENERAL(), plotCorCovCat_IQRdataGENERAL(), plotCorCov_IQRdataGENERAL(), plotCovDistribution_IQRdataGENERAL(), plotDoseSchedule_IQRdataGENERAL(), plotIndiv_IQRdataGENERAL(), plotObsSummarizedByCovCat_IQRdataGENERAL(), plotRange_IQRdataGENERAL(), plotSampleSchedule_IQRdataGENERAL(), plotSpaghetti_IQRdataGENERAL(), print.IQRdataGENERAL(), removeCommata_dataframe(), rmAMT0_IQRdataGENERAL(), rmDosePostLastObs_IQRdataGENERAL(), rmIGNOREd_IQRdataGENERAL(), rmMissingTIMEobsRecords_IQRdataGENERAL(), rmNOobsSUB_IQRdataGENERAL(), rmNonTask_IQRdataGENERAL(), rmPLACEBO_IQRdataGENERAL(), rmSubjects_IQRdataGENERAL(), setIGNORErecords_IQRdataGENERAL(), setMissingDVobsRecordsIGNORE_IQRdataGENERAL(), subset.IQRdataGENERAL(), summary.IQRdataGENERAL(), summaryCat_IQRdataGENERAL(), summaryCov_IQRdataGENERAL(), summaryObservations_IQRdataGENERAL(), transformObs_IQRdataGENERAL(), unlabel_dataframe()

Other IQRnlmeData: IQRcalcTAD(), IQRexpandADDLII(), IQRsaveCSVdata(), IQRsysData(), date2dateday_IQRdataProgramming(), date2datetime_IQRdataProgramming(), date2time_IQRdataProgramming(), export_IQRnlmeData(), getLabels_dataframe(), is_IQRnlmeData(), plot.IQRnlmeData(), print.IQRnlmeData(), removeCommata_dataframe(), unlabel_dataframe()

Other Auxiliary: IQRsaveCSVdata(), and(), aux_explode(), aux_explodePC(), aux_fileparts(), aux_fileread(), aux_filewrite(), aux_getRelPath(), aux_mkdir(), aux_na_locf(), aux_postFillChar(), aux_preFillChar(), aux_quantilenumber(), aux_rmdir(), aux_simplifypath(), aux_splitVectorEqualPieces(), aux_strFindAll(), aux_strrep(), aux_strtrim(), aux_unlevel(), aux_version(), calcAICBIC(), clusterX(), compare_IQRmodel_IQRsysModel_simulation(), fit_EmaxModel(), format_GUM(), ge(), gen_aux_version(), geocv(), geomean(), geosd(), ginv(), gt(), interp0(), interp1(), interpcs(), inv_logit(), le(), logit(), lt(), mod(), mvrnorm(), norm_M3(), or(), piecewise(), progressBar(), remove_duplicates(), run_silent_IQR(), stopIQR(), tempdirIQR(), tempfileIQR(), warningIQR()

Author

Henning Schmidt, Daniel Kaschek, IntiQuan