Skip to main content

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

Project description

MEDS-Inspect Logo

🕵️ 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

You can use any of the ETLs available in the MEDS ecosystem to create your own MEDS dataset, see here for an updated list.

pip install MEDS-Inspect

Then start a server with the following:

MEDS_Inspect port=8052 +initial_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.

On HPC systems you might need to forward the port, for example with SSH tunneling:

ssh -N -f -L localhost:8090:localhost:8090 remote_user@remote_host

Then access the app at localhost:8090 in your browser. For any problems, please refer to your system administrator.

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

[!NOTE] you need to input the directory with your /data and /metadata folder, for example: /sicdb/MEDS_cohort\

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meds_inspect-0.0.11.tar.gz (5.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meds_inspect-0.0.11-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file meds_inspect-0.0.11.tar.gz.

File metadata

  • Download URL: meds_inspect-0.0.11.tar.gz
  • Upload date:
  • Size: 5.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meds_inspect-0.0.11.tar.gz
Algorithm Hash digest
SHA256 52b6313a1e170628ac75449730282c372977b73dcb42ca96afd38e148eec519a
MD5 743052191231f877ee9169afc27320c9
BLAKE2b-256 8396c428575b17613d4b0fb6810404a550b844990cf8d27451f78fdecc193af1

See more details on using hashes here.

Provenance

The following attestation bundles were made for meds_inspect-0.0.11.tar.gz:

Publisher: python-build.yaml on rvandewater/MEDS-Inspect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meds_inspect-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: meds_inspect-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meds_inspect-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c96007ca3c846ebf51c60a1b30bbeb01302d3c6c12a552b12ddcaa6cd863e16d
MD5 38740458da1dd1bb10003ec1d13f373f
BLAKE2b-256 54258ccec63077eb24d11183c15bc9f172560f84c8ec84f3ae4047738b357bb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for meds_inspect-0.0.11-py3-none-any.whl:

Publisher: python-build.yaml on rvandewater/MEDS-Inspect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page