| Name | fetchctg JSON |
| Version |
0.1.1
JSON |
| download |
| home_page | |
| Summary | A package that can fetch formatted adverse events data from clinicaltrials.gov |
| upload_time | 2023-11-05 01:14:28 |
| maintainer | |
| docs_url | None |
| author | Akshay Chougule |
| requires_python | >=3.6 |
| license | MIT |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# 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
```sh
$ pip install fetchctg
```
### Basic Usage
```sh
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")
```
Raw data
{
"_id": null,
"home_page": "",
"name": "fetchctg",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Akshay Chougule",
"author_email": "akshay6023@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5a/50/b153c2fc6833b1b24b85c95e4bff8fb12a9e8f88c6013935f7700719d065/fetchctg-0.1.1.tar.gz",
"platform": null,
"description": "# fetchctg \n\nThe 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.\n\nIn order to help with this issue., this fetch-ctg library contains helper functions to fetch formatted safety data from the clinicaltrials.gov API.\n\n\n* Free software: MIT license\n\n\n## Tutorial\n--------\n\n\n### How to install\n\n```sh\n$ pip install fetchctg\n```\n\n### Basic Usage\n\n```sh\nimport ctgfetch as ctf\n\t\n# Get serious adverse events from trial id NCT01859988\ndf = get_sae(\"NCT01859988\")\n\n# Save non-serious adverse events to excel file in local directory\nsave_oae(\"NCT01859988\")\n\n# Get non-serious adverse events from trial id NCT01859988\ndf = get_oae(\"NCT01859988\")\n\n# Save serious adverse events to excel file in local directory\nsave_sae(\"NCT01859988\")\n\n# Get all (serious and non-serious) adverse events from trial id NCT01859988\ndf = get_all_ae(\"NCT01859988\")\n\n# Save all (serious and non-serious) adverse events to excel file in local directory\nsave_all_ae(\"NCT01859988\")\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A package that can fetch formatted adverse events data from clinicaltrials.gov",
"version": "0.1.1",
"project_urls": {
"source": "https://github.com/AksChougule/ctg-fetch"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5a50b153c2fc6833b1b24b85c95e4bff8fb12a9e8f88c6013935f7700719d065",
"md5": "db8fe89967d68dae83e49c0cbcf7dbbd",
"sha256": "9e284cfe927e0953b463f7d4ee087393248db9fada6e870b2d2e9c375da3f3ae"
},
"downloads": -1,
"filename": "fetchctg-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "db8fe89967d68dae83e49c0cbcf7dbbd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3778,
"upload_time": "2023-11-05T01:14:28",
"upload_time_iso_8601": "2023-11-05T01:14:28.678382Z",
"url": "https://files.pythonhosted.org/packages/5a/50/b153c2fc6833b1b24b85c95e4bff8fb12a9e8f88c6013935f7700719d065/fetchctg-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-05 01:14:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AksChougule",
"github_project": "ctg-fetch",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fetchctg"
}