Skip to content

Commit 250a06d

Browse files
Copilotpethers
andauthored
improve: substantially expand session-baseline, cross-session-intelligence, mcp-reliability-audit, worldbank-indicator-mapping
Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/22c46ca9-c9e0-450f-b1f5-7614faaff4ab Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
1 parent 7cf1927 commit 250a06d

4 files changed

Lines changed: 544 additions & 179 deletions

File tree

analysis/methodologies/worldbank-indicator-mapping.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,95 @@ Sweden, 2023, WDI via world-bank MCP. Admiralty: B2.
117117

118118
- **v1.1 (2026-04-24)** — Scope tightened: WB economic codes explicitly deprecated, IMF replacements listed, scope notice added to header. Full IMF integration across methodologies/templates/prompts.
119119
- **v1.0 (2026-04-23)** — Initial Riksdagsmonitor mapping; adapted from EU Parliament Monitor `worldbank-indicator-mapping.md` Wave-2 scope.
120+
121+
---
122+
123+
## 7. Detailed Indicator Reference — Retained Domains
124+
125+
### 7a. Governance (WGI, source=75)
126+
127+
| Indicator | WB Code | Range | Sweden 2023 | Global percentile | Publication lag | Use in Riksdagsmonitor |
128+
|-----------|---------|:-----:|:-----------:|:-----------------:|:---------------:|------------------------|
129+
| Control of Corruption | `CC.EST` | −2.5–+2.5 | ≈ +2.15 | 98th | 12 months | `pestle-analysis.md §Political`, `risk-assessment.md §Institutional` |
130+
| Rule of Law | `RL.EST` | −2.5–+2.5 | ≈ +1.95 | 97th | 12 months | `pestle-analysis.md §Legal` |
131+
| Voice and Accountability | `VA.EST` | −2.5–+2.5 | ≈ +1.65 | 90th | 12 months | `risk-assessment.md §Democratic accountability` |
132+
| Government Effectiveness | `GE.EST` | −2.5–+2.5 | ≈ +1.90 | 96th | 12 months | `executive-brief.md §Context` |
133+
| Regulatory Quality | `RQ.EST` | −2.5–+2.5 | ≈ +1.75 | 95th | 12 months | `implementation-feasibility.md §Institutional capacity` |
134+
| Political Stability / No Violence | `PV.EST` | −2.5–+2.5 | ≈ +0.85 | 78th | 12 months | Note: NATO accession may improve future scores; hybrid threat context may depress |
135+
136+
**MCP query for governance:**
137+
```python
138+
# Source=75 is mandatory for WGI — otherwise WB API returns WDI economic codes
139+
get-economic-data(countryCode="SWE", indicator="CC.EST", years=10)
140+
# Nordic peer comparison (iterate):
141+
for c in ["SWE", "DNK", "FIN", "NOR"]: get-economic-data(countryCode=c, indicator="CC.EST", years=5)
142+
```
143+
144+
### 7b. Environmental (WDI)
145+
146+
| Indicator | WB Code | Unit | Sweden ≈ | WB data lag | Swedish myndighet (use first for Sweden) |
147+
|-----------|---------|------|:-------:|:-----------:|----------------------------------------|
148+
| CO₂ per capita | `EN.ATM.CO2E.PC` | tonne/capita | 3.5 (2022) | 18–24 mo | Naturvårdsverket (NVV) |
149+
| CO₂ total (kt) | `EN.ATM.CO2E.KT` | kilotonnes | see NVV | 18–24 mo | Naturvårdsverket |
150+
| Renewable energy share | `EG.FEC.RNEW.ZS` | % total energy | ≈ 60 % (2022) | 12–18 mo | Energimyndigheten |
151+
| Forest area | `AG.LND.FRST.ZS` | % land area | ≈ 69 % | 12 mo | Skogsstyrelsen |
152+
| Freshwater withdrawals | `ER.H2O.FWTL.ZS` | % internal resources | < 1 % | 24–36 mo | SGU / SMHI |
153+
| PM2.5 exposure | `EN.ATM.PM25.MC.M3` | µg/m³ | ≈ 8 | 12–18 mo | Naturvårdsverket |
154+
155+
**Limitation**: WB environmental data sourced from national statistical offices with significant lag. For real-time Swedish policy analysis, cite Naturvårdsverket / Energimyndigheten / SMHI as primary and WB as international context layer only.
156+
157+
### 7c. Health & Nutrition (WDI)
158+
159+
| Indicator | WB Code | MCP tool key | Unit | Sweden ≈ | Swedish authority |
160+
|-----------|---------|:------------:|------|:-------:|-------------------|
161+
| Health expenditure % GDP | `SH.XPD.CHEX.GD.ZS` | `HEALTH_EXPENDITURE` | % | 10.9 % (2022) | Socialstyrelsen; SCB NR |
162+
| Physicians per 1,000 | `SH.MED.PHYS.ZS` | `PHYSICIANS` | per 1K | 4.3 (2022) | Socialstyrelsen |
163+
| Hospital beds per 1,000 | `SH.MED.BEDS.ZS` | `HOSPITAL_BEDS` | per 1K | 2.1 (2020) | Socialstyrelsen |
164+
| Measles immunisation | `SH.IMM.MEAS` | `IMMUNIZATION` | % 1-year-olds | 97 % (2022) | Folkhälsomyndigheten |
165+
| HIV prevalence | `SH.DYN.AIDS.ZS` | `HIV_PREVALENCE` | % adults 15–49 | ≈ 0.1 % | Folkhälsomyndigheten |
166+
| Undernourishment | `SN.ITK.DEFC.ZS` | `MALNUTRITION` | % population | < 2.5 % | SCB HEK survey |
167+
| Tuberculosis incidence | `SH.TBS.INCD` | `TUBERCULOSIS` | per 100K | ≈ 4.0 (2022) | Folkhälsomyndigheten |
168+
169+
**MCP query example:**
170+
```python
171+
get-health-data(countryCode="SWE", indicator="HEALTH_EXPENDITURE", years=10)
172+
```
173+
174+
**Limitation**: WB health data aggregated from WHO and national sources; may differ from Socialstyrelsen micro-data by ±0.5–1.0 pp. Always cross-reference Socialstyrelsen for Swedish domestic policy analysis.
175+
176+
### 7d. Education (WDI)
177+
178+
| Indicator | WB Code | MCP tool key | Unit | Sweden ≈ | Swedish authority |
179+
|-----------|---------|:------------:|------|:-------:|-------------------|
180+
| Literacy rate (adult) | `SE.ADT.LITR.ZS` | `LITERACY_RATE` | % | ≈ 99 % | SCB PIAAC |
181+
| Primary enrollment | `SE.PRM.ENRR` | `SCHOOL_ENROLLMENT` | gross % | > 100 % | Skolverket |
182+
| Primary completion | `SE.PRM.CMPT.ZS` | `SCHOOL_COMPLETION` | % | ≈ 99 % | Skolverket |
183+
| Primary teachers | `SE.PRM.TCHR` | `TEACHERS_PRIMARY` | count | ≈ 85,000 | Skolverket |
184+
| Gov. education expenditure % GDP | `SE.XPD.TOTL.GD.ZS` | `EDUCATION_EXPENDITURE` | % | ≈ 6.8 % | SCB `OE0107` |
185+
186+
---
187+
188+
## 8. Limitations Summary
189+
190+
| Limitation type | Affected domains | Mitigation |
191+
|----------------|:----------------:|-----------|
192+
| Publication lag 18–24 months | Environmental, some health | Use Swedish myndigheter as primary; WB for international comparison |
193+
| WGI country coverage gaps | Governance (some years) | Flag in `mcp-reliability-audit.md §7` if year missing |
194+
| Small-count suppression | HIV, TB, undernourishment | Note in article: "WB suppresses counts below threshold; exact value below X" |
195+
| WDI aggregation methodology differs from Eurostat / SCB | Social / health / education | When citing for EU comparison, note "WB WDI methodology; Eurostat may differ by ±X pp" |
196+
| WB economic code still callable but deprecated | All economic domains | Run `WB_ECON_REG` check in `mcp-reliability-audit.md §7`; re-fetch via IMF |
197+
| WGI annual frequency only | Governance | Do not interpolate between years; use "most recent available (YYYY)" |
198+
199+
---
200+
201+
## 9. Cross-Reference Matrix
202+
203+
| Riksdagsmonitor template | Relevant WB domain | Key codes | Also cite |
204+
|--------------------------|-------------------|-----------|-----------|
205+
| `pestle-analysis.md §Social` | Social / demographics | `SP.POP.TOTL`, `SP.DYN.LE00.IN` | SCB `BE0101` (Sweden primary) |
206+
| `pestle-analysis.md §Environmental` | Environmental | `EN.ATM.CO2E.PC`, `EG.FEC.RNEW.ZS` | NVV, Energimyndigheten (Sweden primary) |
207+
| `pestle-analysis.md §Political` | Governance | `CC.EST`, `VA.EST`, `PV.EST` | Statskontoret, JO, KU betänkande |
208+
| `risk-assessment.md §Institutional` | Governance | `RL.EST`, `GE.EST` | KU annual report |
209+
| `comparative-international.md` | All domains | Full Nordic peer comparison | IMF for economic columns; WB for non-economic |
210+
| `voter-segmentation.md §Demographic` | Social | `SP.POP.TOTL`, `IT.NET.USER.ZS` | SCB (Sweden primary) |
211+
| `implementation-feasibility.md §Capacity` | Governance / innovation | `RQ.EST`, `GB.XPD.RSDV.GD.ZS` | Vinnova for Swedish R&D |

0 commit comments

Comments
 (0)