Skip to content

Commit 574f3d9

Browse files
committed
Export Summary
Export summary and other patches
1 parent 6d0a327 commit 574f3d9

5 files changed

Lines changed: 68 additions & 17 deletions

File tree

docs/run_ready_header.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
---
3+
## 🟢 Run-Ready Notebook
4+
5+
This notebook is ready to run out-of-the-box. It uses data from the `/sample_data` folder and requires no additional configuration.
6+
7+
Steps:
8+
1. Install requirements from `requirements.txt`
9+
2. Run each cell in order
10+
3. Outputs will be saved or displayed inline
11+
12+
Make sure you're using a virtual environment or sandbox for reproducibility.
13+
---

docs/spatial_tools_snippet.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
### 🗺 Spatial Tools
3+
4+
EquityStack uses:
5+
- `geopandas` for reading, transforming, and joining shapefiles
6+
- `folium` for interactive mapping (especially useful for dashboards)
7+
- Sample `.geojson` and `.csv` overlays for public health or climate data
8+
9+
These tools let you generate programmatic maps and embed them in reports or dashboards.

scripts/export_summary_to_excel.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# export_summary_to_excel.py
3+
4+
import pandas as pd
5+
import xlsxwriter
6+
7+
def export_summary_to_excel(df, filename="output.xlsx"):
8+
writer = pd.ExcelWriter(filename, engine='xlsxwriter')
9+
df.to_excel(writer, index=False, sheet_name='Summary')
10+
11+
workbook = writer.book
12+
worksheet = writer.sheets['Summary']
13+
format1 = workbook.add_format({'num_format': '#,##0', 'bold': True})
14+
worksheet.set_column('A:Z', 18, format1)
15+
16+
writer.close()

use_cases.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
1-
# Use Cases
21

3-
This repository supports real-world applied research tasks across:
2+
# 📂 USE CASES: EquityStack
43

5-
## Public Health
6-
- Mapping service access across districts
7-
- NFHS-style weighted summaries
8-
- Health index creation from binary variables
4+
This document lists sample use cases where EquityStack components have been used, adapted, or are intended to support real-world workflows.
95

10-
## Education
11-
- Dropout/completion rate comparisons
12-
- Visualising educational outcomes by group
6+
---
137

14-
## Gender & WEE
15-
- Gender-disaggregated indicators
16-
- Time use patterns across activities
17-
- Summarised dashboards for MEL reports
8+
## 🏫 Education
9+
- Aggregating learning outcomes from surveys
10+
- Creating gender-disaggregated indicators for school completion
11+
- Exporting structured Excel reports for dashboards
1812

19-
## MEL & Evaluation
20-
- Export summary tables for reporting
21-
- Calculate SROI from outcome-cost data
22-
- Survey diagnostics and profile summaries
13+
## 💉 Public Health
14+
- Building district-level access indices (health, WASH)
15+
- Mapping service reach using shapefiles and vulnerability overlays
16+
- Combining survey + administrative data in visual reports
17+
18+
## ♀️ Gender & WEE
19+
- Constructing gender gap summaries using simulated time-use and income data
20+
- Preparing SROI outputs by gender group
21+
- Integrating outputs into mixed-method evaluations
22+
23+
## 🌏 Climate & Resilience
24+
- Mapping spatial exposure using mock flood data + shapefiles
25+
- Creating baselines using existing secondary datasets
26+
- Preparing dashboard exports for climate program M&E
27+
28+
## 📊 General MEL / Dashboards
29+
- Wide → long format reshaping for Looker Studio / Power BI
30+
- Exporting styled `.xlsx` summaries using `xlsxwriter`
31+
- Structuring testable workflows and integrating data validation
32+
33+
---
34+
35+
This list grows with each contribution or reuse. Want to add your use case? Open an issue or pull request.

0 commit comments

Comments
 (0)