From ba1d251fc36e3e179c54ec4e2be1b5746562e2b9 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Mon, 30 Dec 2024 15:40:46 -0500 Subject: [PATCH] ok --- README.md | 8 ++++++-- src/regbot/fetch/clinical_trials.py | 4 ---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f4ace6f..5bd483e 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,14 @@ [![Actions status](https://github.com/genomicmedlab/regbot/actions/workflows/checks.yaml/badge.svg)](https://github.com/genomicmedlab/regbot/actions/checks.yaml) -Fetch regulatory approval data for drug terms - +Acquire cleaned and structured data about drugs and therapeutics from US regulatory agencies and services: +* ClinicalTrials.gov +* Drugs@FDA +* RxClass + +All data returned from regulatory APIs is structured as instances of standard library NamedTuples. This is done to give data structure and rudimentary type annotation (i.e. to benefit code editor and analysis tools) without adding runtime heft or being wedded to particular schema libraries like Pydantic. This may change in the future. --- diff --git a/src/regbot/fetch/clinical_trials.py b/src/regbot/fetch/clinical_trials.py index c3e470b..cabc29f 100644 --- a/src/regbot/fetch/clinical_trials.py +++ b/src/regbot/fetch/clinical_trials.py @@ -37,10 +37,6 @@ >>> serious_events.append(event.term) >>> serious_events[:3] ['ANAEMIA', 'AUTOIMMUNE HAEMOLYTIC ANAEMIA', 'EVANS SYNDROME'] - -The schema elements are structured as standard-library NamedTuple classes. This is done -to provide very basic name-completion and type annotation, without being wedded to a -particular schema library like Pydantic (though this could change in the future). """ import datetime