clinical-trials-us
Data and processing scripts for clinical trials information in http://ClinicalTrials.gov, a registry and results database of publicly and privately supported clinical studies of human participants con...
Report an issue- Downloads
- 664
- Last updated
- Data files
- 2
- Total size
- 35 kB
- Format
- xml
- License
- ODC-PDDL-1.0
Data Files
2 filesnct01101477
Data and processing scripts for clinical trials information in http://ClinicalTrials.gov, a registry and results database of publicly and privately supported clinical studies of human participants conducted around the world.
Deposit in this database has been required since September 2007 for all "applicable clinical trials" as per FDAAA 801.
Getting the data
- Go to http://www.clinicaltrials.gov/
- Search (no query) to get all results
- Hit download and select all results
- Wait while 542 Mb zip file downloads
search_results.zip - unzip - you now have 2.3Gb of clinical trials xml
- Use the scripts - see below
Data Structure
It's XML. Here's the XSD: http://clinicaltrials.gov/ct2/html/images/info/public.xsd.
Sample records:
- data/NCT00000102.xml (without results)
- data/NCT01101477.xml (with results)
Data Stats
139848 XML files as of 2013-02-02.
As of Feb 1st 2013 only 8,044 trials included posted-results.
Scripts
Node.js script in extract.js - still under development.
API access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
- Fetch datapackage.json to inspect schema and resources
- Download data resources listed in datapackage.json
- Read README.md for full context
- README.mddocumentationhttps://datahub.io/core/clinical-trials-us/_r/-/README.md
- data/NCT00000102.xmlhttps://datahub.io/core/clinical-trials-us/_r/-/data/NCT00000102.xml
- data/NCT01101477.xmlhttps://datahub.io/core/clinical-trials-us/_r/-/data/NCT01101477.xml
- datapackage.jsonmetadata & schemahttps://datahub.io/core/clinical-trials-us/_r/-/datapackage.json
- extract.jshttps://datahub.io/core/clinical-trials-us/_r/-/extract.js