Dataset Viewer
Auto-converted to Parquet Duplicate
nct_id
stringlengths
11
11
nct_version
int64
3
160
ord
int64
0
7
event_date
date32
event_type
stringclasses
3 values
date_unknown
bool
1 class
is_obsolete
bool
1 class
obsolete_by
stringclasses
0 values
NCT00356369
12
0
2017-04-05
RELEASE
null
false
null
NCT00356369
12
1
null
UNRELEASE
true
false
null
NCT00356369
12
2
2017-04-14
RELEASE
null
false
null
NCT00356369
12
3
2017-07-11
RESET
null
false
null
NCT01224106
160
0
2021-09-08
RELEASE
null
false
null
NCT01224106
160
1
2021-10-05
RESET
null
false
null
NCT01224106
160
2
2021-10-27
RELEASE
null
false
null
NCT01224106
160
3
2021-11-23
RESET
null
false
null
NCT01727336
22
0
2021-04-28
RELEASE
null
false
null
NCT01727336
22
1
2021-05-06
RESET
null
false
null
NCT01727336
22
2
2021-05-07
RELEASE
null
false
null
NCT01727336
22
3
2021-05-10
UNRELEASE
null
false
null
NCT01727336
22
4
2021-05-14
RELEASE
null
false
null
NCT01727336
22
5
2021-05-17
UNRELEASE
null
false
null
NCT01727336
22
6
2021-05-17
RELEASE
null
false
null
NCT01727336
22
7
2021-05-20
UNRELEASE
null
false
null
NCT01844986
53
0
2019-05-09
RELEASE
null
false
null
NCT01844986
53
1
2019-05-30
RESET
null
false
null
NCT02148952
7
0
2018-01-17
RELEASE
null
false
null
NCT02148952
7
1
null
UNRELEASE
true
false
null
NCT02148952
7
2
2018-01-18
RELEASE
null
false
null
NCT02148952
7
3
2018-09-20
RESET
null
false
null
NCT02403674
38
0
2018-02-08
RELEASE
null
false
null
NCT02403674
38
1
2018-03-09
RESET
null
false
null
NCT02403674
38
2
2018-03-13
RELEASE
null
false
null
NCT02403674
38
3
null
UNRELEASE
true
false
null
NCT03013751
9
0
2025-11-12
RESET
null
false
null
NCT03045406
20
0
2025-02-27
RESET
null
false
null
NCT03045406
21
0
2025-05-12
RESET
null
false
null
NCT03052816
3
0
2021-09-10
RESET
null
false
null
NCT03052816
4
0
2021-09-22
RESET
null
false
null
NCT03052816
5
0
2021-09-30
RESET
null
false
null
NCT03061734
24
0
2024-02-28
RESET
null
false
null
NCT03061734
25
0
2024-04-01
RESET
null
false
null
NCT03094715
10
0
2024-05-08
RESET
null
false
null
NCT03094715
11
0
2024-06-10
RESET
null
false
null
NCT03204318
30
0
2022-09-29
RESET
null
false
null
NCT03204318
31
0
2023-12-26
RESET
null
false
null
NCT03204318
32
0
2024-04-16
RESET
null
false
null
NCT03204318
33
0
2024-05-31
RESET
null
false
null
NCT03204318
34
0
2025-05-08
RESET
null
false
null
NCT03204318
35
0
2025-05-21
RESET
null
false
null
NCT03204331
30
0
2022-09-29
RESET
null
false
null
NCT03204331
31
0
2024-06-20
RESET
null
false
null
NCT03204331
32
0
2025-05-08
RESET
null
false
null
NCT03204331
33
0
2025-05-21
RESET
null
false
null
NCT03709680
74
0
2025-09-12
RESET
null
false
null
NCT03709680
75
0
2026-01-30
RESET
null
false
null
NCT03709680
76
0
2026-03-27
RESET
null
false
null
NCT03709680
77
0
2026-05-26
RESET
null
false
null
NCT03785340
6
0
2022-05-10
RESET
null
false
null
NCT03800134
53
0
2025-11-17
RESET
null
false
null
NCT03800134
54
0
2026-04-24
RESET
null
false
null
NCT04363801
28
0
2025-08-12
RESET
null
false
null
NCT04363801
29
0
2025-09-11
RESET
null
false
null
NCT04518228
40
0
2026-04-22
RELEASE
null
false
null
NCT04518228
40
1
2026-05-15
RESET
null
false
null
NCT04518228
40
2
2026-06-10
RELEASE
null
false
null
NCT04518228
40
3
2026-07-07
RESET
null
false
null
NCT04605978
10
0
2024-02-07
RESET
null
false
null
NCT04605978
11
0
2024-03-19
RESET
null
false
null
NCT04605978
12
0
2024-04-09
RESET
null
false
null
NCT05080764
14
0
2026-08-27
RESET
null
false
null

Clinical Trials Version History: Sample

A free sample of the Clinical Trials Version History dataset by Anamnesis Data: structured medical and scientific data for biotech, pharma and healthcare research. Public trial registries show only a trial's latest state. This dataset keeps every version, so you can see what a trial said on any past date, or when a sponsor moved a completion date.

The sample holds 20 complete trials (741 versions), one Parquet file per table (79 tables, 221,561 rows). Every row of every table for these trials is included, so joins work as they do in the full dataset, which covers ~605K trials. The trials were chosen so that every table, including the rarer results and safety tables, has rows.

Example queries

sample_queries.sql holds 12 ready-to-run DuckDB queries, each explained in a comment:

  • Basic: the current record of every trial, status changes over time, versions per trial.
  • Multi-table: the registry as of a past date, completion-date slips by phase, primary-outcome results, serious adverse event rates, arms and their interventions, sponsor site footprint.

They run against setup.sql, which creates one view per table (see Quick start).

Quick start

Download the repository, then in DuckDB, from that folder:

.read setup.sql          -- one view per table, named after its folder
.read sample_queries.sql -- the example queries above

-- the current record of every trial
SELECT nct_id, nct_version, overall_status, lead_sponsor_name
FROM core
QUALIFY row_number() OVER (PARTITION BY nct_id ORDER BY nct_version DESC) = 1;

Or read a table in place, or with the datasets library:

SELECT * FROM 'hf://datasets/anamnesis-data/clinical_trials_history_sample/core/*.parquet' LIMIT 5;
from datasets import load_dataset
core = load_dataset("anamnesis-data/clinical_trials_history_sample", "core", split="train")

What's inside

Each folder is one table. core has one row per trial version; interventions, conditions, phases, arm_groups, locations and the results_* tables (participant flow, baseline, outcomes, adverse events) hang off it. Tables with nct_version join to core on (nct_id, nct_version); per-trial tables join on nct_id.

Things to know:

  • Versions. nct_version is the source's own 0-based version number for a trial.
  • No "current" flag. The current record is a trial's highest nct_version, as in the query above. It is the latest version held here, which can trail the live record.
  • Obsolete IDs. Every table ends with is_obsolete and obsolete_by, which flag registrations since merged into another. None of the sample's trials is obsolete.
  • Raw text. Text is as collected, uncleaned. Many fields contain HTML-escaped characters such as & or '.

Source and license

Trial records come from ClinicalTrials.gov, a U.S. Government database operated by the National Library of Medicine at NIH; no proprietary rights are claimed in them, and the site's terms apply to them. Newest change in this sample: 2026-08-28. We restructured the records into tables and a subset of fields; dates given only as a month or year are set to its first day (a *_precision column, where present, keeps the original). Other values are as returned.

The compilation (structure, schema, version history and documentation) is licensed CC BY-NC 4.0. This sample is public and not gated. For commercial licensing and the full dataset, contact licensing@anamnesisdata.com or visit anamnesisdata.com.

Citation

@misc{clinical_trials_history_sample_2026,
  title  = {Clinical Trials Version History: Sample},
  author = {{Anamnesis Data}},
  year   = {2026},
  url    = {https://huggingface.co/datasets/anamnesis-data/clinical_trials_history_sample}
}
Downloads last month
388