Skip to content

ctrdata

1.26.3Package record

Retrieve and Analyze Clinical Trials Data from Public Registers

0packages depend
9.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.26.3
  • Added support for MariaDB (nodbi v0.15.0)
  • Added tests to increase coverage of code testing
  • Type as NA new 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

CRAN checks
13OK
Slowest check: 4.8 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.26.3
READMEYes · 2,676 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 1.26.3Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

9.4K
CRAN downloads in the past year
Rank #4,056 · ~26/day · ~780/mo
Daily download trend is not available in this view yet.
86530 days
2.2K90 days
9.4K1 year
Compare downloads with other packages →
Also on173 r2u8 autocran4.3K conda_forge45 c2d4u

Repository

62Stars
9Forks
0Open issues
0Open PRs
63Releases
2,600Commits
2Commit identities
clinical-trialstrialregisterdatabaserstudiesctgovnodbi
2,600 commits · Last activity 2026-10-21 · +3.3% stars, 30d · Default branch at 1.26.3.9001, ahead of CRAN 1.26.3 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-10-20 · 512026-10-14 · 62
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-11

pkgdown site last built 2022-03-13, before release 1.26.3 (2026-08-28)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Lint, format, editor (1)
lintr
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
28 external dependencies (excludes base and recommended)

Installing ctrdata adds 75 packages (43 with compiled code, 46 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, sass 2.9 MB.

Depends (1)
R >= 4.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.14.1 (2019)
Copyright holder · added in 1.22.0
jstree library
Copyright holder · added in 1.22.0
node-xml2js library
Releases (66)

Pick two releases to compare their code metrics.

Show 61 earlier eventsHide 61 earlier events

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ctrdata version 1.26.3 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy