Releases: rfhb/ctrdata
Releases · rfhb/ctrdata
ctrdata v1.26.1
Bug fix
- Addressed marginal cases in
f.primaryEndpointResults(), added more references tof.externalLinks() dbQueryHistory()no more errors but returns NULL and a message with a non-existing or empty collection- Added typing of newly appearing field in CTIS
- Improved error message for failed CTGOV2 queries
ctrdata v1.26.0
Enhancement
- Refactored downloading data and documents to run, throttle and retry more robustly
- Updated user info, clarify history is updated only if at least one trial is loaded
Bug fix
- For CTIS, dbFindIdsUniqueTrials() returns now only the trial record with the highest resubmission number
- For EUCTR, correct edge case downloading third-country protocol-related information
- Fixed links between help pages and vignettes
- Code cleanup
ctrdata v1.25.1
Enhancement
- Work around upstream issue (#59, CTIS delivering at most 10000 trials per query)
- Add CITATION file with recent reference publication
Bug fix
- Re-added field missing from EUCTR conversion
- Changed API call after long deprecated by ISRCTN
- Ordered messages from dbFindIdsUniqueTrials(), f.isUniqueTrial()
- Adapt to extended tokens used by CTGOV2
ctrdata v1.25.0
Possibly breaking down-stream workflows
- Save EUCTR result files in folders by trial, as done for documents for all registers
Enhancement
- Revised how EUCTR trials are loaded and updated with results, accelerated operations
- Added retrying requests, to handle refused or throttled responses (e.g., CTIS, #55)
- Added incrementing numbers of historic versions of CTIS when running
ctrLoadQueryIntoDb() - Simplified, accelerated loading NDJSON files, minimising database record deletions
- Changed deleting and preserving temporary files (see also news for version 1.17.0)
Bug fixes
- Refined indicator variables for
f.hasResults() - Added missing status code in
f.statusRecruitment() - Corrected missing value handling in
f.sponsorType()
ctrdata v1.24.1
- Bug fix for
ctrGenerateQueries()(country reference list, parameter chaining) - Handle conversion of numbers with thousands separator
- Fixed documentation gaps
ctrdata v1.24.0
- Added parameter
euctrprotocolsallfor loading from EUCTR; ifFALSE, this speeds up loading as only a single and no all records of a trial are loaded - Tightened query for medicine-interventional trials in
ctrGenerateQueries()for CTGOV2 - Added trial concepts
f.assignmentType(),f.externalLinks(),f.hasResults() - Improved trial concept
f.controlType()and added "mixed"tof.sponsorType() - Expanded functionality of
ctrGenerateQueries()for CTGOV2 expert searches - Bug fix for subsetting data frames when calculating trial concepts
- Removed long deprecated parameters from
ctrLoadQueryIntoDb(),dbGetFieldsIntoDf() - Increased testing coverage to more than 94% of code lines
ctrdata v1.23.0
Improvements
- Refactored for EUCTR protocol data
ctrLoadQueryIntoDb()for large speed gain - Improved downloading more documents from ISRCTN, however needs live webpage read
- Replaced
curlwithhttr2and further refactored file retrieval - Reduced dependencies using equivalent alternative functions
Bug fixes
- Cover multiple sponsors in EUCTR for
f.sponsorType() - Change priority of CTIS fields for
f.sponsorType() - Added typing of newly appearing CTIS fields
ctrdata v1.22.3
- Added dev version of
nodbito GitHub Action - Added typing to CTIS field for
f.statusRecruitment - Improved
f.likelyPlatfromTrial(mangling title excerpts, add a missing default, sort ids in.maybeRelatedTrials, added back associated trials, updated similarity and user info) - Accelerated file operations that still used
cat
ctrdata v1.22.2
- Added typing for further CTGOV2 and CTIS fields
- Adapt a test to modified terminal output in certain IDEs
- Refactored
dfMergeVariablesRelevel()and keep type if rows include only a single value - Fixed counting trial sites outside the EEA for EUCTR
- Fixed regression in
dbFindIdsUniqueTrials() - Fixed typo in
ctrGenerateQueries() - Updated documentation
ctrdata v1.22.1
Bug fix
- Adapt testing after SQLite 3.48.0 (in RSQLite 2.3.10 since 2025-05-02) accepts now up to 1000 arguments
- Fixed EUCTR conversion to
NDJSONin Javascript for rare specific trial(s), thanks @machado-t (#45) - Revised
dbFindIdsUniqueTrials()to work with more than 80,000 records, thanks @machado-t (#48)
Internal
- Modify internal function
.dbMapIdsTrials()to use both CTIS1 and CTIS2 field names, and defer de-duplication to parent function