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