Exports a define file for the provided dataset

Dataset needs to be of format IQRdataGENERAL. The define file is exported in the Markdown format used in IQReport. It is humanly readable and ready to be converted to Word DOCX by the IntiQuan IQReport software. The main advantage of not directly creating a PDF file is the ease of manual editing in Word. If the IQReport software is installed on the computer, then additionally to the RMD file a WORD DOCX file is generated. More information on IQReport: (http://www.intiquan.com/iqreport-the-reporting-solution/). The execution of this function and the generation of the rmd file requires the presence of the IQReport R package on your R installation. The conversion of the rmd to a Word DOCX file additionally requires the IQReport windows or Linux executables to be installed on your computer. If you want to generate the define files, please check with IntiQuan to obtain the IQReport R package and also the IQReport executables.

  datasetName = NULL,
  datasetLocation = NULL,
  datasetDescription = "Analysis dataset",
  addColLabels = NULL,
  filename = NULL



IQRdataGENERAL object


A character string with a name for the dataset. It should not be longer than 8 characters if you plan to send it to the FDA.


A character string with the location (path) to the dataset.


A short character string stating the purpose of this dataset


List with named elements. Names are column names and the value of an element is the label. If defining addColLabels for columns that are already handled automatically, the provided labels will overwrite the automatic ones. Example: addColLabels <- list(IXGDF="Other label",NEWCCOL="Label for NEWCOL")


If filename is not provided, then the filename is defined automatically by "'datasetName'_define.rmd" and saved to the current work folder.

See also

Other IQRdataGeneral: +.IQRdataGENERAL(), IQRcalcTAD(), IQRdataGENERAL(), IQRexpandADDLII(), IQRloadCSVdata(), IQRsaveCSVdata(), addIndivRegressors_IQRdataGENERAL(), addLabel_IQRdataGENERAL(), attributes0(), blloqInfo_IQRdataGENERAL(), blloq_IQRdataGENERAL(), check_IQRdataGENERAL(), clean_IQRdataGENERAL(), combine_IQRdataGENERAL(), convertCat2Text(), covImpute_IQRdataGENERAL(), date2dateday_IQRdataProgramming(), date2datetime_IQRdataProgramming(), date2time_IQRdataProgramming(), 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(), 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 Submission package: IQRoutputDEFINE(), IQRoutputXPT(), addLabel_IQRdataGENERAL(), createSubmissionPack(), exportDEFINEpdf_IQRdataGENERAL()