/
Code structure

Code structure

The code has been organised in the following code repo:

utilities/egov-national-dashboard-accelerator at develop ยท pmidc-digit/utilities

It has the following folder structure:

dags

plugins

The dags folder is the folder which contains the DAG code.

national_dashboard_template_latest.py(manual trigger)

national_dashboard_template_scheduled.py(scheduled)

The queries folder contains the ES queries for the individual modules

For adding a new module we need to add a module specific file in the queries folder with the transform logic and then refer to in the DAG code in both manual and trigger version.

ย 

Related content