Skip to main content

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")

Release files for fetchctg 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fetchctg 0.1.1
File Size Uploaded
fetchctg-0.1.1.tar.gz 3.8 kB Details

Release files / fetchctg-0.1.1.tar.gz

Download URL fetchctg-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e284cfe927e0953b463f7d4ee087393248db9fada6e870b2d2e9c375da3f3ae
BLAKE2b-256 checksum
How to use checksums
5a50b153c2fc6833b1b24b85c95e4bff8fb12a9e8f88c6013935f7700719d065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page