Dataset
anamnesis-data

anamnesis-data/clinical_trials_history

Clinical Trials Version History 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. 612,934 trials (4,493,055 versions), one folder of Parquet files per table (79 tables, 545,849,471 rows). Access is… See the full description on the dataset page: https://huggingface.co/datasets/anamnesis-data/clinical_trials_history.

16thích
91.6ktải xuống
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: biomedical

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: biotech

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: biotechnology

#1 Repository của tuần

Clinical Trials Version History

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.

612,934 trials (4,493,055 versions), one folder of Parquet files per table (79 tables, 545,849,471 rows). Access is gated; request it above. A free sample of 20 complete trials has the same tables and columns.

Example queries

sample_queries.sql in the sample holds ready-to-run DuckDB queries, from a trial's current record to serious adverse event rates. They run unchanged against this dataset's setup.sql, which creates one view per table; on the full data, add a LIMIT to the row-level ones.

Quick start

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

.read setup.sql          -- one view per table, named after its folder

-- the current public record of every trial
SELECT nct_id, nct_version, overall_status, lead_sponsor_name
FROM core
WHERE last_update_post_date IS NOT NULL      -- leaves out versions that failed review
QUALIFY row_number() OVER (PARTITION BY nct_id ORDER BY nct_version DESC) = 1;

Or read a table in place with a token from an account that has been granted access:

CREATE SECRET hf_token (TYPE huggingface, PROVIDER credential_chain);  -- uses `hf auth login`
SELECT * FROM 'hf://datasets/anamnesis-data/clinical_trials_history/core/*.parquet' LIMIT 5;
from datasets import load_dataset
core = load_dataset("anamnesis-data/clinical_trials_history", "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.
  • Public dates. A version is public from last_update_post_date. Versions that failed the registry's review were never public: their last_update_post_date is empty, and reset_notice_post_date holds the date of the review's reset notice.
  • No "current" flag. The current record is a trial's highest public nct_version, as in the query above. It is the latest version held here, which can trail the live record.
  • Versions as captured. Each version is kept as captured; the registry later re-derives some fields in about 1 trial in 10. version_history follows the registry's current change list.
  • Obsolete IDs. Every table ends with is_obsolete and obsolete_by, which flag registrations since merged into another (46 trials). Filter on NOT is_obsolete to drop them.
  • List entries. List tables (for example interventions, arm_groups, secondary_ids, overall_officials, conditions and keywords) keep every source entry, in order: ord is its position in the source list, so entries that repeat a name are separate rows.
  • Text. No field holds HTML: entities are decoded (A &amp; B becomes A & B), tags are removed, and <word> used as brackets becomes (word). Rich-text fields (descriptions, eligibility criteria, results comments) are Markdown, like the public ClinicalTrials.gov API.

Releases

Each release is tagged vYYYY.MM.DD; pass it as revision= (or @vYYYY.MM.DD in an hf:// path) to pin one. A tag moves if the same day is republished; pin a commit hash for a fixed snapshot. This release's newest change: 2026-11-20.

Breaking changes since v2026.09.28

Code written against v2026.09.28 needs these changes; that release stays available under its tag.

  • interventions is keyed by (nct_id, nct_version, ord): entries with the same name and type are separate rows, and entries without a name or type are kept.
  • New ord column, ordered by it: arm_groups, collaborators, overall_officials, secondary_ids, conditions, keywords, phases, who_masked, std_ages, ipd_info_types, id_aliases. intervention_other_names gains intervention_ord and other_name_ord.
  • intervention_arm_links has one row per source element (source, parent_ord, item_ord, raw_label, intervention_ord, arm_group_ord); intervention_type uses the enum values.
  • core.last_update_post_date is empty for versions that failed review; the new last column reset_notice_post_date holds their reset-notice date.
  • Plain-text fields are decoded (see Text); version_history.module_labels is {} rather than NULL for changes that list no module.
  • No HTML in text: rich-text fields are Markdown, and tags and entities are removed (see Text).

Repository move

Releases up to v2026.09.26 were published at brbk/clinical_trials_history; new releases are published here only. Access approvals do not carry over, so request access again here.

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. 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), and HTML is removed from text and rich-text fields are converted to Markdown. Other values are as returned.

The compilation (structure, schema, version history and documentation) is licensed CC BY-NC 4.0. Access is gated: you agree to cite this dataset and attribute the data to ClinicalTrials.gov, and not to use these files commercially without a separate license. These terms do not apply to data you obtain directly from ClinicalTrials.gov. For commercial licensing, contact licensing@anamnesisdata.com or visit anamnesisdata.com.

Citation

@misc{clinical_trials_history_2026,
  title  = {Clinical Trials Version History},
  author = {{Anamnesis Data}},
  year   = {2026},
  url    = {https://huggingface.co/datasets/anamnesis-data/clinical_trials_history}
}

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Dataset
secemp9/arxiv-complete

arXiv Complete Corpus A snapshot of arXiv's metadata, version history, submission files and rendered documents. It covers 3,148,796 papers and includes file contents, paths, sizes and SHA-256 digests. Metadata comes from arXiv's OAI-PMH arXivRaw interface; files come from the GCS mirror, S3 source archives and direct PDF fetches. This release holds a PDF for 99.47% of papers and 99.54% of versions reported with a non-zero submission size. It is a one-off snapshot; coverage gaps… See the full description on the dataset page: https://huggingface.co/datasets/secemp9/arxiv-complete.

♥0
104.9k
Sep 19, 2026
Dataset
HuggingFaceFW/fineweb

🍷 FineWeb 15 trillion tokens of the finest data the 🌐 web has to offer What is it? The 🍷 FineWeb dataset consists of more than 18.5T tokens (originally 15T tokens) of cleaned and deduplicated english web data from CommonCrawl. The data processing pipeline is optimized for LLM performance and ran on the 🏭 datatrove library, our large scale data processing library. 🍷 FineWeb was originally meant to be a fully open replication of 🦅 RefinedWeb, with a… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb.

♥0
419.5k
Jul 11, 2025
Dataset
HuggingFaceFW/fineweb-edu

📚 FineWeb-Edu 1.3 trillion tokens of the finest educational data the 🌐 web has to offer Paper: https://arxiv.org/abs/2406.17557 What is it? 📚 FineWeb-Edu dataset consists of 1.3T tokens and 5.4T tokens (FineWeb-Edu-score-2) of educational web pages filtered from 🍷 FineWeb dataset. This is the 1.3 trillion version. To enhance FineWeb's quality, we developed an educational quality classifier using annotations generated by LLama3-70B-Instruct. We… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu.

♥0
524.8k
Jul 11, 2025
Dataset
bigcode/the-stack

Dataset Card for The Stack Changelog Release Description v1.0 Initial release of the Stack. Included 30 programming languages and 18 permissive licenses. Note: Three included licenses (MPL/EPL/LGPL) are considered weak copyleft licenses. The resulting near-deduplicated dataset is 3TB in size. v1.1 The three copyleft licenses ((MPL/EPL/LGPL) were excluded and the list of permissive licenses extended to 193 licenses in total. The list of programming… See the full description on the dataset page: https://huggingface.co/datasets/bigcode/the-stack.

♥0
116.9k
Aug 3, 2026
Dataset
tiiuae/falcon-refinedweb

📀 Falcon RefinedWeb Falcon RefinedWeb is a massive English web dataset built by TII and released under an ODC-By 1.0 license. See the 📓 paper on arXiv for more details. RefinedWeb is built through stringent filtering and large-scale deduplication of CommonCrawl; we found models trained on RefinedWeb to achieve performance in-line or better than models trained on curated datasets, while only relying on web data. RefinedWeb is also "multimodal-friendly": it contains links and… See the full description on the dataset page: https://huggingface.co/datasets/tiiuae/falcon-refinedweb.

♥0
23.9k
Jun 20, 2023
Dataset
HuggingFaceFW/finepdfs

Liberating 3T of the finest tokens from PDFs What is this? As we run out of web pages to process, the natural question has always been: what to do next? Only a few knew about a data source that everyone avoided for ages, due to its incredible extraction cost and complexity: PDFs. 📄 FinePDFs is exactly that. It is the largest publicly available corpus sourced exclusively from PDFs, containing about 3 trillion tokens across 475 million documents in 1733 languages. Compared to… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/finepdfs.

♥0
80.8k
Apr 3, 2026
Dataset
BAAI/Infinity-Instruct

Infinity Instruct Beijing Academy of Artificial Intelligence (BAAI) [Paper][Code][🤗] The quality and scale of instruction data are crucial for model performance. Recently, open-source models have increasingly relied on fine-tuning datasets comprising millions of instances, necessitating both high quality and large scale. However, the open-source community has long been constrained by the high costs associated with building such extensive and high-quality instruction… See the full description on the dataset page: https://huggingface.co/datasets/BAAI/Infinity-Instruct.

♥0
14.1k
Dec 4, 2025
Dataset
wikimedia/wikipedia

Dataset Card for Wikimedia Wikipedia Dataset Summary Wikipedia dataset containing cleaned articles of all languages. The dataset is built from the Wikipedia dumps (https://dumps.wikimedia.org/) with one subset per language, each containing a single train split. Each example contains the content of one full Wikipedia article with cleaning to strip markdown and unwanted sections (references, etc.). All language subsets have already been processed for recent dump… See the full description on the dataset page: https://huggingface.co/datasets/wikimedia/wikipedia.

♥0
385.4k
Jan 9, 2024
Dataset
OpenAssistant/oasst1

OpenAssistant Conversations Dataset (OASST1) Dataset Summary In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations (OASST1), a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages in 35 different languages, annotated with 461,292 quality ratings, resulting in over 10,000 fully annotated conversation trees. The corpus is a product of a worldwide crowd-sourcing effort… See the full description on the dataset page: https://huggingface.co/datasets/OpenAssistant/oasst1.

♥0
73.6k
May 2, 2023