AFOS-Analytics1 commited on
Commit
83548c8
·
verified ·
1 Parent(s): 047811b

Add structural-context.csv (World Bank WGI governance + WDI economy & education); document in DATA_DICTIONARY

Browse files
DATA_DICTIONARY.md CHANGED
@@ -64,3 +64,20 @@ Raw payload for the secondary "UK Election: Labour % of the vote?" market, kept
64
  ---
65
 
66
  **Sources:** [Wikipedia: Opinion polling for the 2024 United Kingdom general election](https://en.wikipedia.org/wiki/Opinion_polling_for_the_2024_United_Kingdom_general_election) · Polymarket "Which party wins the most seats after UK Election?". Maintained by [AFOS Analytics](https://afos-analytics.com). Data CC BY 4.0, code Apache 2.0.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  ---
65
 
66
  **Sources:** [Wikipedia: Opinion polling for the 2024 United Kingdom general election](https://en.wikipedia.org/wiki/Opinion_polling_for_the_2024_United_Kingdom_general_election) · Polymarket "Which party wins the most seats after UK Election?". Maintained by [AFOS Analytics](https://afos-analytics.com). Data CC BY 4.0, code Apache 2.0.
67
+
68
+ ## `data/uk-structural-context.csv`
69
+
70
+ Structural country context from the **World Bank**, complementary to the divergence data: it frames the country, it does **not** predict the electoral outcome. Long/tidy format, one row per indicator, latest available year per indicator.
71
+
72
+ | Column | Type | Notes |
73
+ |--------|------|-------|
74
+ | `category` | string | `governance`, `economy`, or `education`. |
75
+ | `indicator` | string | Machine code (e.g. `political_stability`, `gdp_usd`, `expected_years_schooling`). |
76
+ | `label` | string | Human-readable indicator name (English). |
77
+ | `value` | number | Governance on a 0–100 scale; economy in US$ / %; education in % of GDP or years. |
78
+ | `unit` | string | `index_0_100`, `USD`, `percent`, or `years`. |
79
+ | `year` | integer | Reference year of the value (latest available). |
80
+ | `source` | string | World Bank WGI (governance, via Data360) or WDI (economy & education). |
81
+ | `iso3` | string | ISO 3166 alpha-3 country code. |
82
+
83
+ Both sources are open-licensed (CC BY 4.0) and keyless. Governance = Worldwide Governance Indicators; economy & education = World Development Indicators.
data/uk-structural-context.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ category,indicator,label,value,unit,year,source,iso3
2
+ governance,political_stability,"Political stability",70.3,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
3
+ governance,voice_accountability,"Voice and accountability",79.6,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
4
+ governance,rule_of_law,"Rule of law",78.8,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
5
+ governance,government_effectiveness,"Government effectiveness",74.4,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
6
+ governance,regulatory_quality,"Regulatory quality",78.7,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
7
+ governance,control_of_corruption,"Control of corruption",78.4,index_0_100,2024,"World Bank Worldwide Governance Indicators (WGI)",GBR
8
+ macro,gdp_usd,"GDP (current US$)",3686033044482,USD,2024,"World Bank World Development Indicators (WDI)",GBR
9
+ macro,gdp_per_capita_usd,"GDP per capita (current US$)",53246.37,USD,2024,"World Bank World Development Indicators (WDI)",GBR
10
+ macro,inflation_pct,"Inflation, consumer prices (annual %)",3.27,percent,2024,"World Bank World Development Indicators (WDI)",GBR
11
+ education,gov_expenditure_pct_gdp,"Government expenditure on education (% of GDP)",5.91,percent,2021,"World Bank World Development Indicators (WDI)",GBR
12
+ education,expected_years_schooling,"Expected years of schooling",17.25,years,2018,"World Bank World Development Indicators (WDI)",GBR