- Renamed
var_relabel
intorcd_var_relabel
and copied new functionalities to avoid namespace conflict withformatters
package. - Made
rcd_var_relabel
internal as it was intended for developers use only. - Updated
ARM
andACTARM
variables in theADAB
data.
- Asynchronous cached data updates in
rebuild_cached_data
vignette - data is only updated if its (or its dependency's) source file has been updated.
- Updated level of
ETHNIC
variable in all datasets from" NOT REPORTED"
to"NOT REPORTED"
.
- Specified minimal version of package dependencies.
- Renamed
ADSL
argument toadsl
inradab
,radae
,radaette
,radcm
,raddv
,radeg
,radex
,radhy
,radlb
,radmh
,radpc
,radpp
,radqlqc
,radqs
,radrs
,radsaftte
,radsub
,radtr
,radtte
,radvs
, andget_qs_data
. - Renamed
ADPC
argument toadpc
inradab
. - Renamed
event.descr
argumentevent_descr
andcensor.descr
argument tocensor_descr
inradaette
andadtte
.
- Added new random dataset generator: Anti-Drug Antibody Analysis Dataset (
radab
). - Added new random dataset generator: EORTC QLQ-C30 V3 Analysis Dataset (
radqlqc
).
- Added variables
ASTDY
,AENDY
,EXDOSFRQ
,EXROUTE
,VISIT
,VISITDY
,EXSTDTC
,EXENDTC
,EXSTDY
,EXENDY
,TRTSDT
, andTRTEDT
toadex
. - Added more default
PARAM
s and new variablesPPSTINT
,PPENINT
,REGIMEN
, andPKARMCD
toadpp
. - Added
TNE
toPARAMCD
,Total Number of Exacerbations
toPARAM
, and new variablelgTMATRSK
toadtte
. - Added more default
PARAM
s and post-baseline visits toadab
and enhanced variablesADAPBLFL
,ABLFL
,ADABLFL
,PARCAT1
, andRELTMU
. - Added variables
AEWITHFL
andADTHAUT
toadsl
. - Added variable
ATIREL
toadmh
. - Added variables
CMSTRTPT
,CMENRTPT
,ADURN
, andADURU
toadcm
. - Added variables
AESCONG
,AESDISAB
,AESHOSP
,AESLIFE
,AESMIE
, andLDOSEDTM
toadae
. - Added parameter
with_trt02
toradsl
to make the second treatment period available. Whenwith_trt02 = TRUE
(default), add variablesTRT02A
,TRT02P
,TRT02SDTM
,TRT02EDTM
,AP02SDTM
,AP02EDTM
,TRT01SDTM
,TRT01EDTM
,AP01SDTM
, andAP01EDTM
toadsl
, and setTRTSDTM
asTRT01SDTM
,TRTEDTM
asTRT02EDTM
. - Added variable
LDRELTM
toadae
. - Aligned logic for
ADTM
,ADY
, andONTRTFL
variables withAVISIT
where applicable withinadeg
,adlb
,adqs
,adsub
,adtr
, andadvs
. - Made
AVAL
values more realistic and updated derivations ofANRIND
,*STRESC
, andLOQFL
to depend on value ofPARAMCD
inadlb
andadvs
. - Added tests to increase package test coverage.
- Added "datetime" and "date" as valid variable types to apply in
apply_metadata
. - Implemented the
lubridate
package in all date/datetime variable derivations.
- Updated all the
ANL01FL
NA
values to""
inadae
. - Updated
DVDECOD
andDVSCAT
values inaddv
. - Fixed
adtm
calculations so that records with sameAVISIT
have the sameADTM
for each patient. - Fixed checks for
na_percentage
argument that is in most datasets. - Updated package for breaking changes in
tidyselect
. - Updated
adtte
so that the events, analysis values and censor values make logical sense.
- Updated installation method and aligned with other packages.
- Updated tests to use
testthat
3rd edition and added snapshot testing for random rows. - Implemented
lifecycle
package 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.R
file topackage.R
and 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
adpc
andadab
following the new CDISC standard. - Refactor
abab
parameters and visits to align withadpc
. - Skipping examples in
h_adqlqc
documentation. - Changed example in
apply_metadata
to reduce example run time.
- Added new random dataset generator: PK Analysis Dataset (
radpc
). - Added new random dataset generator: PK Parameter Dataset (
radpp
).
- Added new variables
AGEU
,TRT01P
,TRT01A
toADSL
. - Added new variables
CMINDC
,CMDOSE
,CMTRT
,CMDOSU
,CMROUTE
,CMDOSFRQ
toADCM
. - Added
ANRLO
andANRHI
column toADLB
andADVS
. - Added
AERELNST
column toADAE
. - Added
MHDISTAT
column toADMH
. - Enhanced
radpc
to add an argument to set the duration in number of days.
- Fixed a typo in
ADSL$BMRKR1
's label.
- Updated required R version to >= 3.6.
- Removed deprecated package
utils.nest
from imports and now usecheckmate
for validation functions. - Removed deprecated dependency
test.nest
.
- Added
EOTSTT
variable to ADSL dataset. - Enabled users to define mean analysis value for each lab test in
radlb
with new argumentaval_mean
. - Added
AERELNST
andAEACNOTH
variables to ADAE dataset.
- Updated
LICENCE
andREADME
with new package references. - Corrected the
EVNTDESC
andCNSR
variable values for the "OS" parameter in ADTTE dataset. - Fixed typo in label for
BASE2
variable in ADQS dataset. - Added
error_on_lint: TRUE
to.lintr
.
- Added
AECONTRT
variable to ADAE dataset. - Added new parameters in ADAETTE dataset.
- Added new parameters in ADHY dataset.
- Added period variables
APERIOD
andAPERIODC
to ADHY dataset.
- Added parameters to ADHY data.
- Fix bug to make internal helper
rel_var
work withtibbles
. - Added new random dataset generator: Hys Law Analysis Dataset (
radhy
) . - Updated the sampling of
TRTSDTM
inradsl
to be more efficient.
- Fix warnings of binding factors to characters.
- Added variables
ATC1CD
,ATC2CD
,ATC3CD
, andATC4CD
to ADCM data. - Enhanced ADAETTE data set generation via
radaette()
:lookup
argument now takes the parametersCATCD
andCAT
instead ofPARAMCD
andPARAM
.CATCD
specifies the code for study specific treatment emergent adverse events (e.g. "1") andCAT
specifies 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 (
PARAMCD
starting withAETOT
and 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.
- Added parameters BNRIND and ONTRTFL to ADVS data set.
- Added new parameter "Duration of Confirmed Response" to ADTTE data set.
- Fixed
radsl
whereN < 4
.
- 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.
- Simple refactor for examples.
- Remove
test.nest
dependency.
- Added ADMH dataset.
- Renamed AREL column in ADAE to AEREL.
- Refactored after renaming functions in
utils.nest
. - Added ADEX dataset.
- Columns classes configuration in
.yml
file. - 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.
- Added cached versions of the datasets
c<name>
.
- New consistent approach of creating random data for the different domains.
- Switch to new CDISC names (e.g.
ADSL
instead 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 (
- Initial release.