Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
107 lines (81 sloc) 3 KB


A Python package for pre-processing nuMoM2b data with configuration files.

Documentation Status Build Status Code Coverage Config file image.

This is one component within a wider research project for predicting adverse events over the course of a woman's pregnancy. This package serves the dual role of assisting with pre-processing tasks and for producing reproducible partitions of the data based on configuration files.

.. toctree::
   :maxdepth: 1
   :caption: Getting Started:


.. toctree::
   :maxdepth: 1
   :caption: API:


.. toctree::
   :maxdepth: 1
   :caption: Sample Config Files:


.. toctree::
  :caption: External Links

  GitHub Repository <>
  Bug Tracker <>

Maintained by Alexander L. Hayes, a Ph.D. student with the Indiana University ProHealth Group working on the Precision Health Initiative (φ). Alexander can be reached at

Getting Started

Pointers for getting nuMoM2b_preprocessing working on your local machine.


High-level overview of how this project is organized.

nuMoM2b_preprocessing architecture.

Writing Configuration Files

Configuration files define which variables should be used and how they should be aggregated. This is a worked example for writing a configuration file.

  "csv_path": "../FullData/numom_data/",
  "target": {
      "name": "Ancillary/Pregnancy_outcomes.csv",
      "variables": ["PublicID", "oDM"]
  "files": [
      "name": "Screening_Admin_Visits/Visit1.csv",
      "variables": ["PublicID", "V1BA01_KG", "V1BA01_LB"]

Indices and tables

You can’t perform that action at this time.