{"id":20354832,"url":"https://github.com/datasets/clinical-trials-us","last_synced_at":"2025-06-18T13:34:08.081Z","repository":{"id":6807063,"uuid":"8054932","full_name":"datasets/clinical-trials-us","owner":"datasets","description":"Official US clinical trial outcomes from the FDA","archived":false,"fork":false,"pushed_at":"2024-10-25T14:25:13.000Z","size":12,"stargazers_count":32,"open_issues_count":1,"forks_count":9,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-12T02:37:04.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datasets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-06T16:21:53.000Z","updated_at":"2025-03-27T17:32:13.000Z","dependencies_parsed_at":"2022-08-26T06:00:21.767Z","dependency_job_id":null,"html_url":"https://github.com/datasets/clinical-trials-us","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fclinical-trials-us","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fclinical-trials-us/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fclinical-trials-us/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fclinical-trials-us/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/clinical-trials-us/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507019,"owners_count":21115522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:09:53.693Z","updated_at":"2025-04-12T02:37:07.530Z","avatar_url":"https://github.com/datasets.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/clinical-trials-us\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg\u0026label\u0026scale=1.25\" alt=\"badge\" /\u003e\u003c/a\u003e\n\nData and processing scripts for clinical trials information in\n\u003chttp://ClinicalTrials.gov\u003e, a registry and results database of publicly and\nprivately supported clinical studies of human participants conducted around the\nworld.\n\nDeposit in this database [has been required][required] since September 2007 for\nall \"applicable clinical trials\" as per [FDAAA 801][].\n\n[required]: http://www.clinicaltrials.gov/ct2/manage-recs/fdaaa#WhichTrialsMustBeRegistered\n[FDAAA 801]: http://www.gpo.gov/fdsys/pkg/PLAW-110publ85/pdf/PLAW-110publ85.pdf#page=82\n\n## Getting the data\n\n1. Go to \u003chttp://www.clinicaltrials.gov/\u003e\n2. Search (no query) to get all results\n3. Hit download and select all results\n4. Wait while 542 Mb zip file downloads `search_results.zip`\n5. unzip - you now have 2.3Gb of clinical trials xml\n6. Use the scripts - see below\n\n### Data Structure\n\nIt's XML. Here's the XSD: http://clinicaltrials.gov/ct2/html/images/info/public.xsd.\n\nSample records:\n\n* data/NCT00000102.xml (without results)\n* data/NCT01101477.xml (with results)\n\n### Data Stats\n\n139848 XML files as of 2013-02-02.\n\nAs of Feb 1st 2013 only 8,044 trials included posted-results.\n\n### Scripts\n\nNode.js script in extract.js - still under development.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fclinical-trials-us","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fclinical-trials-us","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fclinical-trials-us/lists"}