ehrdata.dt.mimic_iv_omop#
- ehrdata.dt.mimic_iv_omop(backend_handle, data_path=None)#
Loads the MIMIC-IV demo data in the OMOP Common Data model.
Loads the MIMIC-IV demo dataset from its physionet repository [KTP+21] [GAG+00].
- Parameters:
- Return type:
- Returns:
Nothing. Adds the tables to the backend via the handle.
Examples
>>> import ehrdata as ed >>> import duckdb >>> con = duckdb.connect() >>> ed.dt.mimic_iv_omop(backend_handle=con) >>> con.execute("SHOW TABLES;").fetchall()