Skip to main content

Crate mimic_etl

Crate mimic_etl 

Source
Expand description

§mimic-etl

MIMIC-III/IV clinical database ETL — CSV to Apache Arrow.

§Features

  • medcodes - Integration with medical code ontologies
  • cli - Command-line interface (future)

§Usage

use mimic_etl::{csv_reader, arrow_writer};

§License

Licensed under either of

at your option.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. MIMIC-III/IV clinical database ETL — CSV to Apache Arrow.

This crate provides:

  • Efficient CSV to Arrow conversion for MIMIC datasets
  • Parallel processing using Rayon
  • Memory-mapped file support for large datasets
  • Support for core MIMIC-IV tables

Re-exports§

pub use arrow_writer::StreamingArrowWriter;
pub use arrow_writer::to_arrow_ipc;
pub use arrow_writer::to_parquet;
pub use csv_reader::MimicCsvReader;
pub use types::ClinicalEvent;
pub use types::DatasetConfig;
pub use types::EtlError;
pub use types::Result;

Modules§

arrow_writer
Arrow writing utilities for MIMIC datasets
csv_reader
CSV reading utilities for MIMIC datasets
types
Core types for MIMIC ETL operations.