This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Python API wrapper for the [ClincalTrials.gov API](http://clinicaltrials.gov/ct2/info/linking).

Documentation for [ClinicalTrials.gov can be found here.](http://clinicaltrials.gov/ct2/info/linking)

Usage

The Trials class only has two methods – search and download. The same information from search is returned to the download method in ZIP file format.

>>> from clinical_trials import Trials
>>> t = Trials()
>>> t.search("alzheimer's disease")
>>> t.search('diabetes', 'cond')
>>> t.search('diabetes', 'condition')
>>> t.search(condition='diabetes')
>>> # Specify the number of trials turned.
... t.search(intervention='Fluoxetine', count=200)
>>> # Find trials no longer recruiting.
... t.search('lyme disease', recruiting='closed')
>>> # If you want plain XML returned back.
... t.search(sponsor='NHLBI', output_format=None)
>>> # You can also find trials by location -- up to 3 states or countries.
... t.search('cancer', state='TX')
>>> t.search('diabetes', state1='TX', state2='NY', state3='CA')
>>> t.search(condition='lyme disease', country1='US', country2='CA')
>>> # And you can download a ZIP file with the data.
... zip_file = t.download('cancer', count=500)
Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
clinical_trials-1.1.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting