How abdoudjigo/assaman-suuf works
Assaman & Suuf is an agroclimatology and agricultural decision-support project for Senegal. The documented workflow brings together heterogeneous API, PostgreSQL, MongoDB, and Kafka data, loads it into Snowflake, transforms it with dbt, then serves analytics through BI, an API, and yield-prediction interfaces. Sampled source confirms PostgreSQL-to-Snowflake loading, Kafka event publishing, MongoDB cleaning, and a placeholder Airflow DAG. Several documented capabilities have no implementation files in the tree; those branches are represented at their available directory paths, with no unsupported runtime links asserted.
Main entry points: marts Analytics marts · dataflow360_dag.py Airflow pipeline DAG · staging Staging models · pipeline.py PostgreSQL loader
Components 18
Data ingestion
- API source
ingestion/api_source - PostgreSQL EDA
ingestion/postgres_source/eda.py - PostgreSQL loader
ingestion/postgres_source/pipeline.py - PostgreSQL source
ingestion/postgres_source - MongoDB cleaner
ingestion/mongodb_source/clean_mongo.py - MongoDB source
ingestion/mongodb_source - Kafka producer
ingestion/kafka_source/kafka_producer_agriculture.py - Kafka broker
Warehouse transforms
- Snowflake warehouse
- Staging models
dbt_project/models/staging - Intermediate models
dbt_project/models/intermediate - Analytics marts
dbt_project/models/marts
Workflow orchestration
- Airflow pipeline DAG
orchestration/dags/dataflow360_dag.py
Decision products
- BI dashboard
dashboard - Analytics API
api - Yield prediction
ml/training - Prediction interface
ml
Other components
- Agricultural actors
Connections 18
- PostgreSQL EDA → PostgreSQL source: queries
ingestion/postgres_source/eda.py - PostgreSQL loader → PostgreSQL source: reads
ingestion/postgres_source/pipeline.py - PostgreSQL loader → Snowflake warehouse: loads
ingestion/postgres_source/pipeline.py - MongoDB cleaner → MongoDB source: cleans data
ingestion/mongodb_source/clean_mongo.py - Kafka producer → Kafka broker: publishes events
ingestion/kafka_source/kafka_producer_agriculture.py - Snowflake warehouse → Staging models: transforms
README.md - Staging models → Intermediate models: models onward
README.md - Intermediate models → Analytics marts: models onward
README.md - Airflow pipeline DAG → Snowflake warehouse: checks raw
- Airflow pipeline DAG → Staging models: stages
- Airflow pipeline DAG → Analytics marts: tests models
- Analytics marts → BI dashboard: feeds analytics
README.md - Analytics marts → Analytics API: serves data
README.md - Analytics marts → Yield prediction: supplies features
README.md - Yield prediction → Prediction interface: serves predictions
README.md - Agricultural actors → BI dashboard: views insights
README.md - Agricultural actors → Analytics API: requests data
README.md - Agricultural actors → Prediction interface: uses predictions
README.md