Skip to content

This Python script facilitates the integration of data from KoboToolbox into DHIS2. It fetches data from KoboToolbox, transforms it, and creates Tracked Entity Instances and enrollments in DHIS2.

Notifications You must be signed in to change notification settings

hispindia/kobo-dhis2-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Kobo-DHIS Integration

This Python script facilitates the integration of data from KoboToolbox into DHIS2. It fetches data from KoboToolbox, transforms it, and creates Tracked Entity Instances and enrollments in DHIS2.

Prerequisites

  • Python 3.x

Configuration

  1. Set up your credentials:

    • Update kobo_username and kobo_password with your KoboToolbox credentials.
    • Update dhis2_username and dhis2_password with your DHIS2 credentials.
  2. Specify the KoboToolbox form ID:

    • Set the form_id variable with the relevant KoboToolbox form ID.
  3. Adjust other parameters:

    • Customize the DHIS2 program ID and any other parameters as needed.

Usage

Run the script using the following command:

python kobo_dhis_integration.py

About

This Python script facilitates the integration of data from KoboToolbox into DHIS2. It fetches data from KoboToolbox, transforms it, and creates Tracked Entity Instances and enrollments in DHIS2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages