Skip to content

rvandewater/MEDS-Inspect

Repository files navigation

🕵️ MEDS-Inspect

PyPI - Version Documentation Status codecov tests code-quality python Static Badge license PRs contributors DOI

MEDS (Medical Event Data Standard) is "the simplest possible standard for health AI" (https://medical-event-data-standard.github.io/).

But after building your own MEDS ETL you might be wondering:

  • Is my ETL missing data?
  • What codes are contained in my dataset?
  • How does my data compare to other MEDS datasets?
  • What preprocessing steps are still needed in order to train models?

.. and many more questions related to data exploration.

MEDS-Inspect is an interactive data visualization app that supports you in your data quest.

Getting started

pip install MEDS-Inspect

Then start a server with the following:

MEDS_Inspect --port=8060 --file_path="path/to/your/meds/dataset"

This will start a local web app that you can access in your browser. Running this command without a file path will default to the MIMIC-IV Demo data in MEDS

You should also be able to enter an arbitrary filepath from the GUI.

Getting started (development)

Clone repository:

git clone https://github.com/rvandewater/MEDS-Inspect.git
cd MEDS-Inspect

Create environment:

conda create -n "meds-inspect" python=3.12
conda activate meds-inspect

Install requirements:

pip install -r requirements.txt

Launch app:

python src/MEDS_Inspect/__main__.py

This should start a locally hosted web app.

Functionality

You can start the caching directly from the command line. Caching creates the folder .meds-inspect-cache

python MEDS_Inspect_cache path/to/your/favorite/meds/dataset

Impression: Screenshot 2025-01-13 at 11-53-07 MEDS INSPECT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages