Retrieve and Analyze Clinical Trials Data from Public Registers
Overview
A system for querying, retrieving and analyzing protocol- and results-related information on clinical trials from four public registers, the 'European Union Clinical Trials Register' ('EUCTR', https://www.clinicaltrialsregister.eu/), 'ClinicalTrials.gov' (https://clinicaltrials.gov/ and also translating queries the retired classic interface), the 'ISRCTN' (https://www.isrctn.com/) and the 'European Union Clinical Trials Information System' ('CTIS', https://euclinicaltrials.eu/). Trial information is downloaded, converted and stored as JSON in a database ('PostgreSQL', 'SQLite', 'DuckDB', 'MongoDB' or 'MariaDB'; via package 'nodbi'). Protocols, statistical analysis plans, informed consent sheets and other documents in registers associated with trials can also be downloaded. Other functions implement trial analysis concepts canonically across registers, identify deduplicated records across registers, easily find and extract variables (fields) of interest even from complex nested data as used by registers, merge variables and update queries. The package can be used for monitoring, meta- and trend-analysis of the design and conduct as well as of the results of clinical trials across registers. See overview in Herold, R. (2025) doi:10.1017/rsm.2025.10061.
- Added support for MariaDB (nodbi v0.15.0)
- Added tests to increase coverage of code testing
- Type as
NAnew ISRCTN texts that indicate a value is missing - Added using all secondary ISRCTN identifiers for
dbFindIdsUniqueTrials() - Refactored
ctrFindActiveSubstanceSynonyms()to use MeSH terms in CTGOV2 - Corrected
f.primaryEndpointResults()for CTGOV (did not affect CTGOV2) - Corrected
f.sampleSize(): for EUCTR, in news for 1.26.2 (#62), testing - Corrected import of history of results for EUCTR (
euctrresultshistory = TRUE) - Minor update to browser script (see https://rfhb.github.io/ctrdata/#id_2-script-to-automatically-copy-users-query-from-web-browser)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-30
- NOTE12 OK, 1 NOTE2026-06-29
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 38 (2 internal)includes a package overview page
- Examples that run
- 94%31 run in a plain check (1 of them under a condition) · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/rfhb/ctrdata on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-11
pkgdown site last built 2022-03-13, before release 1.26.3 (2026-08-28)
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.26.3Latest
- 1.26.22026-07-12 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.26.12026-03-08 · diff ↗
- 1.26.02026-01-18 · diff ↗
- 1.25.12025-12-08 · diff ↗
- 1.25.02025-08-26 · diff ↗
- 1.24.12025-07-25 · diff ↗
- 1.24.0
- 1.23.02025-07-02 · diff ↗
- 1.22.32025-06-08 · diff ↗
- 1.22.22025-05-17 · diff ↗
- 1.22.12025-05-05 · diff ↗
- 1.22.02025-04-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.21.1
Show 61 earlier eventsHide 61 earlier events
- 1.21.02025-03-09 · diff ↗ ·
added 17 exports
ctrGenerateQueries, f.controlType, f.isMedIntervTrial, f.isUniqueTrial, f.likelyPlatformTrial, f.numSites, f.numTestArmsSubstances, f.primaryEndpointDescription, f.primaryEndpointResults, f.resultsDate, f.sampleSize, f.sponsorType, f.startDate, f.statusRecruitment, f.trialObjectives, f.trialPhase, f.trialPopulation - 1.20.0
- 1.19.52024-11-10 · diff ↗
- 1.19.42024-09-29 · diff ↗
- 1.19.32024-09-22 · diff ↗
- 1.19.22024-08-29 · diff ↗
- 1.19.12024-07-18 · diff ↗
- 1.19.02024-06-30 · diff ↗
- 1.18.02024-05-13 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.17.22024-02-25 · diff ↗
- 1.17.12024-02-05 · diff ↗
- 1.17.02024-01-22 · diff ↗
- 1.16.02023-11-24 · diff ↗ ·
removed 3 exports
dfListExtractKey, dfMergeTwoVariablesRelevel, installCygwinWindowsDoInstall - 1.15.22023-09-18 · diff ↗
- 1.15.12023-08-30 · diff ↗
- 1.15.02023-08-28 · diff ↗
- 1.14.0
- 1.13.32023-06-24 · diff ↗
- 1.13.22023-05-26 · diff ↗
- 1.13.12023-05-07 · diff ↗
- 1.13.02023-04-24 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.12.12023-03-29 · diff ↗
- 1.12.02023-03-26 · diff ↗
- 1.11.12022-11-20 · diff ↗
- 1.11.02022-11-02 · diff ↗
- 1.10.22022-08-20 · diff ↗
- 1.10.12022-07-24 · diff ↗
- 1.10.02022-07-06 · diff ↗
- 1.9.12022-04-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.9.0
- 1.8.02021-11-22 · diff ↗
- 1.7.12021-08-22 · diff ↗
- 1.7.02021-07-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.6.02021-05-10 · diff ↗
- 1.5.32021-04-20 · diff ↗
- 1.5.22021-04-06 · diff ↗
- 1.5.12021-03-21 · diff ↗
- 1.5.0
- 1.4.12020-11-03 · diff ↗
- 1.4.0
- 1.3.22020-10-05 · diff ↗
- 1.3.12020-08-02 · diff ↗
- 1.3.02020-07-27 · diff ↗
- 1.2.12020-05-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2019-12-08
- 1.22019-12-08 · diff ↗
- archivedRemoved from CRAN2019-12-02policy violation On Internet access
- 1.12019-11-13 · diff ↗
- 1.0.12019-10-23 · diff ↗
- 1.0
- 0.18.22019-05-01 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.182019-04-11 · diff ↗
- 0.17.02019-03-27 · diff ↗
- 0.14.12019-03-12
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-03-12
- Total releases
- 66 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Download size
- 2.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ctrdata")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.