Skip to main content

A package that can fetch formatted adverse events data from clinicaltrials.gov

Project description

fetchctg

The clinicaltrials.gov is a wonderful resource to explore completed, ongoing and planned clinical trials. However using the APIs can be a bit tedious, especially when there is high level of heretogenity is involved in the results published on the website.

In order to help with this issue., this fetch-ctg library contains helper functions to fetch formatted safety data from the clinicaltrials.gov API.

  • Free software: MIT license

Tutorial


How to install

$ pip install fetchctg

Basic Usage

import ctgfetch as ctf
	
# Get serious adverse events from trial id NCT01859988
df = get_sae("NCT01859988")

# Save non-serious adverse events to excel file in local directory
save_oae("NCT01859988")

# Get non-serious adverse events from trial id NCT01859988
df = get_oae("NCT01859988")

# Save serious adverse events to excel file in local directory
save_sae("NCT01859988")

# Get all (serious and non-serious) adverse events from trial id NCT01859988
df = get_all_ae("NCT01859988")

# Save all (serious and non-serious) adverse events to excel file in local directory
save_all_ae("NCT01859988")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fetchctg-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file fetchctg-0.1.1.tar.gz.

File metadata

  • Download URL: fetchctg-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for fetchctg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9e284cfe927e0953b463f7d4ee087393248db9fada6e870b2d2e9c375da3f3ae
MD5 db8fe89967d68dae83e49c0cbcf7dbbd
BLAKE2b-256 5a50b153c2fc6833b1b24b85c95e4bff8fb12a9e8f88c6013935f7700719d065

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page