Changelog
Source:NEWS.md
random.cdisc.data 0.3.15
CRAN release: 2024-03-27
New features
- Asynchronous cached data updates in
rebuild_cached_datavignette - data is only updated if its (or its dependency’s) source file has been updated.
random.cdisc.data 0.3.14
Breaking changes
- Renamed
ADSLargument toadslinradab,radae,radaette,radcm,raddv,radeg,radex,radhy,radlb,radmh,radpc,radpp,radqlqc,radqs,radrs,radsaftte,radsub,radtr,radtte,radvs, andget_qs_data. - Renamed
ADPCargument toadpcinradab. - Renamed
event.descrargumentevent_descrandcensor.descrargument tocensor_descrinradaetteandadtte.
New features
- Added new random dataset generator: Anti-Drug Antibody Analysis Dataset (
radab). - Added new random dataset generator: EORTC QLQ-C30 V3 Analysis Dataset (
radqlqc).
Enhancements
- Added variables
ASTDY,AENDY,EXDOSFRQ,EXROUTE,VISIT,VISITDY,EXSTDTC,EXENDTC,EXSTDY,EXENDY,TRTSDT, andTRTEDTtoadex. - Added more default
PARAMs and new variablesPPSTINT,PPENINT,REGIMEN, andPKARMCDtoadpp. - Added
TNEtoPARAMCD,Total Number of ExacerbationstoPARAM, and new variablelgTMATRSKtoadtte. - Added more default
PARAMs and post-baseline visits toadaband enhanced variablesADAPBLFL,ABLFL,ADABLFL,PARCAT1, andRELTMU. - Added variables
AEWITHFLandADTHAUTtoadsl. - Added variable
ATIRELtoadmh. - Added variables
CMSTRTPT,CMENRTPT,ADURN, andADURUtoadcm. - Added variables
AESCONG,AESDISAB,AESHOSP,AESLIFE,AESMIE, andLDOSEDTMtoadae. - Added parameter
with_trt02toradslto make the second treatment period available. Whenwith_trt02 = TRUE(default), add variablesTRT02A,TRT02P,TRT02SDTM,TRT02EDTM,AP02SDTM,AP02EDTM,TRT01SDTM,TRT01EDTM,AP01SDTM, andAP01EDTMtoadsl, and setTRTSDTMasTRT01SDTM,TRTEDTMasTRT02EDTM. - Added variable
LDRELTMtoadae. - Aligned logic for
ADTM,ADY, andONTRTFLvariables withAVISITwhere applicable withinadeg,adlb,adqs,adsub,adtr, andadvs. - Made
AVALvalues more realistic and updated derivations ofANRIND,*STRESC, andLOQFLto depend on value ofPARAMCDinadlbandadvs. - Added tests to increase package test coverage.
- Added “datetime” and “date” as valid variable types to apply in
apply_metadata. - Implemented the
lubridatepackage in all date/datetime variable derivations.
Bug fixes
- Updated all the
ANL01FLNAvalues to""inadae. - Updated
DVDECODandDVSCATvalues inaddv. - Fixed
adtmcalculations so that records with sameAVISIThave the sameADTMfor each patient. - Fixed checks for
na_percentageargument that is in most datasets. - Updated package for breaking changes in
tidyselect. - Updated
adtteso that the events, analysis values and censor values make logical sense.
Miscellaneous
- Updated installation method and aligned with other packages.
- Updated tests to use
testthat3rd edition and added snapshot testing for random rows. - Implemented
lifecyclepackage with stable badge for exported functions, and tagged internal functions. - Combined ADQLQC helper functions into the same documentation file.
- Improved usability of examples.
- Renamed
random.cdisc.data.Rfile topackage.Rand cleaned up contents. - Added more detailed documentation for function parameters.
- Converted all dataset names to lowercase/snake case for consistency with other NEST packages.
- Refactor
adpcandadabfollowing the new CDISC standard. - Refactor
ababparameters and visits to align withadpc. - Skipping examples in
h_adqlqcdocumentation. - Changed example in
apply_metadatato reduce example run time.
random.cdisc.data 0.3.13
New features
- Added new random dataset generator: PK Analysis Dataset (
radpc). - Added new random dataset generator: PK Parameter Dataset (
radpp).
Enhancements
- Added new variables
AGEU,TRT01P,TRT01AtoADSL. - Added new variables
CMINDC,CMDOSE,CMTRT,CMDOSU,CMROUTE,CMDOSFRQtoADCM. - Added
ANRLOandANRHIcolumn toADLBandADVS. - Added
AERELNSTcolumn toADAE. - Added
MHDISTATcolumn toADMH. - Enhanced
radpcto add an argument to set the duration in number of days.
random.cdisc.data 0.3.12
random.cdisc.data 0.3.10
- Added parameters to ADHY data.
- Fix bug to make internal helper
rel_varwork withtibbles. - Added new random dataset generator: Hys Law Analysis Dataset (
radhy) . - Updated the sampling of
TRTSDTMinradslto be more efficient.
random.cdisc.data 0.3.8
- Added variables
ATC1CD,ATC2CD,ATC3CD, andATC4CDto ADCM data. - Enhanced ADAETTE data set generation via
radaette():-
lookupargument now takes the parametersCATCDandCATinstead ofPARAMCDandPARAM.CATCDspecifies the code for study specific treatment emergent adverse events (e.g. “1”) andCATspecifies the corresponding text (e.g. “any adverse event”). - The resulting data set contains now the number of total occurrences per patient of each specific AE category (
PARAMCDstarting withAETOTand ending withCATCD). - Added parameter
AEREPTTE, the time to end of the AE reporting period. - Generation of the time to and number of adverse events now is conditional on the censoring information, i.e. no longer possible to have a situation with patient censored but time to first AE larger than the AE reporting period.
-
- Updated examples to not use
cached = TRUE. - Added ADSUB dataset.
random.cdisc.data 0.3.7
- Added parameters BNRIND and ONTRTFL to ADVS data set.
- Added new parameter “Duration of Confirmed Response” to ADTTE data set.
random.cdisc.data 0.3.5
- Added ADTR dataset from osprey.
- Added 10 variables to ADAE dataset: AEOUT, AEACN, AESDTH, TRTEMFL, ANL01FL, SMQ01NAM, SMQ02NAM, SMQ01SC, SMQ02SC, CQ01NAM.
- Added WORS02FL (Worst Post-Baseline Observation) to ADEG dataset.
- Added ADEG dataset.
- Added 11 variables to ADLB dataset: BNRIND, SHIFT1, ATOXGR, BTOXGR, WOS01FL, ANL01FL, WGRHIFL, WGRLOFL, WGRHIVFL, WGRLOVFL, ONTRTFL.
random.cdisc.data 0.3.0
- Columns classes configuration in
.ymlfile. - Added Medical History Analysis Dataset (
radmh). - Added missing columns based on Roche standards.
- Introduced missing values in random datasets generators (i.e.
r<name>). - Updated lists of dataset columns.
- Enhanced auto-testing.
random.cdisc.data 0.2.0
- New consistent approach of creating random data for the different domains.
- Switch to new CDISC names (e.g.
ADSLinstead ofASL). - Random dataset generators are:
- Subject-Level Analysis Dataset (
radsl). - Adverse Event Analysis Dataset (
radae). - Time to Adverse Event Analysis Dataset (
radaette). - Previous and Concomitant Medications Analysis Dataset (
radcm). - Laboratory Data Analysis Dataset (
radlb). - Questionnaires Analysis Dataset (
radqs). - Time-to-Event Dataset (
radtte). - Tumor Response Analysis Dataset (
radrs). - Vital Signs Analysis Dataset (
radvs).
- Subject-Level Analysis Dataset (