Skip to content

Releases: insightsengineering/random.cdisc.data

CRAN v0.3.15

28 Mar 16:00
264e9d8
Compare
Choose a tag to compare

New features

  • Asynchronous cached data updates in rebuild_cached_data vignette - data is only updated if its (or its dependency's) source file has been updated.

Enhancements

  • Updated level of ETHNIC variable in all datasets from " NOT REPORTED" to "NOT REPORTED".

Miscellaneous

  • Specified minimal version of package dependencies.

What's Changed

New Contributors

Full Changelog: v0.3.14...v0.3.15

v0.3.14

14 Jul 15:16
c3b89d8
Compare
Choose a tag to compare

Breaking changes

  • Renamed ADSL argument to adsl in radab, radae, radaette, radcm, raddv, radeg, radex, radhy, radlb,
    radmh, radpc, radpp, radqlqc, radqs, radrs, radsaftte, radsub, radtr, radtte, radvs, and get_qs_data.
  • Renamed ADPC argument to adpc in radab.
  • Renamed event.descr argument event_descr and censor.descr argument to censor_descr in radaette and adtte.

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, and TRTEDT to adex.
  • Added more default PARAMs and new variables PPSTINT, PPENINT, REGIMEN, and PKARMCD to adpp.
  • Added TNE to PARAMCD, Total Number of Exacerbations to PARAM, and new variable lgTMATRSK to adtte.
  • Added more default PARAMs and post-baseline visits to adab and enhanced variables ADAPBLFL, ABLFL,
    ADABLFL, PARCAT1, and RELTMU.
  • Added variables AEWITHFL and ADTHAUT to adsl.
  • Added variable ATIREL to admh.
  • Added variables CMSTRTPT, CMENRTPT, ADURN, and ADURU to adcm.
  • Added variables AESCONG, AESDISAB, AESHOSP, AESLIFE, AESMIE, and LDOSEDTM to adae.
  • Added parameter with_trt02 to radsl to make the second treatment period available. When with_trt02 = TRUE
    (default), add variables TRT02A, TRT02P, TRT02SDTM, TRT02EDTM, AP02SDTM, AP02EDTM, TRT01SDTM,
    TRT01EDTM, AP01SDTM, and AP01EDTM to adsl, and set TRTSDTM as TRT01SDTM, TRTEDTM as TRT02EDTM.
  • Added variable LDRELTM to adae.
  • Aligned logic for ADTM, ADY, and ONTRTFL variables with AVISIT where applicable within adeg, adlb,
    adqs, adsub, adtr, and advs.
  • Made AVAL values more realistic and updated derivations of ANRIND, *STRESC, and LOQFL to depend on value
    of PARAMCD in adlb and advs.
  • 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.

Bug fixes

  • Updated all the ANL01FL NA values to "" in adae.
  • Updated DVDECOD and DVSCAT values in addv.
  • Fixed adtm calculations so that records with same AVISIT have the same ADTM 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.

Miscellaneous

  • 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 to package.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 and adab following the new CDISC standard.
  • Refactor abab parameters and visits to align with adpc.
  • Skipping examples in h_adqlqc documentation.
  • Changed example in apply_metadata to reduce example run time.

What's Changed

Read more

v0.3.13

07 Apr 17:43
14ef3cd
Compare
Choose a tag to compare

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, TRT01A to ADSL.
  • Added new variables CMINDC, CMDOSE, CMTRT, CMDOSU, CMROUTE, CMDOSFRQ to ADCM.
  • Added ANRLO and ANRHI column to ADLB and ADVS.
  • Added AERELNST column to ADAE.
  • Added MHDISTAT column to ADMH.
  • Enhanced radpc to add an argument to set the duration in number of days.

Bug fix

  • Fixed a typo in ADSL$BMRKR1's label.

Miscellaneous

  • Updated R version requirement to >= 3.6.
  • Removed deprecated package utils.nest from imports and now use checkmate for validation functions.
  • Removed deprecated dependency test.nest.

What's Changed

New Contributors

Full Changelog: v0.3.12...v0.3.13

v0.3.12

13 Oct 00:01
378830a
Compare
Choose a tag to compare

Enhancements

  • Added EOTSTT variable to ADSL dataset.
  • Enabled users to define mean analysis value for each lab test in radlb with new argument aval_mean.
  • Added AERELNST and AEACNOTH variables to ADAE dataset.

Miscellaneous

  • Updated LICENCE and README with new package references.
  • Corrected the EVNTDESC and CNSR variable values for the "Overall Survival parameter" in ADTTE dataset.
  • Fixed typo in label for BASE2 variable in ADQS dataset.
  • Added error_on_lint: TRUE to .lintr.

v0.3.11

19 Aug 22:13
Compare
Choose a tag to compare
  • Added AECONTRT variable to ADAE dataset.
  • Added new parameters in ADAETTE dataset.
  • Added new parameters in ADHY dataset.
  • Added period variables APERIOD and APERIODC to ADHY dataset.

v0.3.10

19 Aug 22:13
Compare
Choose a tag to compare
  • Added additional parameters to ADHY data.
  • Fix bug to make internal helper rel_var work with tibbles.
  • Added new random dataset generator: Hys Law Analysis Dataset (radhy) .
  • Updated the sampling of TRTSDTM in radsl to be more efficient.

v0.3.9

19 Aug 22:13
Compare
Choose a tag to compare
  • Fix warnings of binding factors to characters.

v0.3.8

19 Aug 22:13
Compare
Choose a tag to compare
  • Four variables ATC1CD, ATC2CD, ATC3CD, ATC4CD have been added to ADCM data.
  • ADAETTE data set generation via radaette() has been enhanced:
    • lookup argument now takes the parameters CATCD and CAT instead of PARAMCD and PARAM.
      CATCD specifies the code to be used for study specific treatment emergent adverse events (e.g. "1")
      and CAT 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 with AETOT and ending with CATCD), in addition to the already
      available time to first occurrence (PARAMCD starting with AETTE and ending with CATCD).
    • An additional parameter included is 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. it is no longer possible to have a situation where the patient is censored but the time to first AE
      is larger than the AE reporting period.
  • Updated examples to not use cached = TRUE.
  • Added ADSUB dataset.

v0.3.7

19 Aug 22:13
Compare
Choose a tag to compare
  • ADVS data set was updated. Two additional parameters were included: BNRIND and ONTRTFL.
  • ADTTE data set was updated. There is a new parameter in this data set: "PARAM == Duration of Confirmed Response".

v0.3.6

19 Aug 22:13
Compare
Choose a tag to compare
  • Fixed radsl where N < 4.