m4-api - Query Clinical Datasets with Python API
Use Python API to query clinical datasets (MIMIC-IV, eICU) programmatically with native Python types
Tags
Updated: 2026-03-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- set dataset
- list datasets
- get schema
- get table info
- execute SQL query
- search notes
- get note
- list patient notes
Inputs
- dataset name
- table name
- SQL query
- search query
- note type
- subject ID
- note ID
Outputs
- dataset name
- schema
- table information
- query results
- search results
- note text
Requirements
- Python environment
- pandas
- numpy
