Ayushnangia commited on
Commit
f06bedb
Β·
verified Β·
1 Parent(s): c53b798

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +289 -3
README.md CHANGED
@@ -1,3 +1,289 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ar
5
+ - zh
6
+ - fr
7
+ - ru
8
+ - es
9
+ license: cc0-1.0
10
+ task_categories:
11
+ - text-classification
12
+ - token-classification
13
+ - text-generation
14
+ - question-answering
15
+ pretty_name: UN Security Council Complete (UNSC-Complete)
16
+ size_categories:
17
+ - 1K<n<10K
18
+ tags:
19
+ - legal
20
+ - international-relations
21
+ - voting
22
+ - united-nations
23
+ - diplomacy
24
+ - geopolitics
25
+ - multilingual
26
+ - vetoes
27
+ ---
28
+
29
+ # UN Security Council Complete Dataset (UNSC-Complete)
30
+
31
+ ## 🌍 The Most Comprehensive UN Security Council Dataset Available
32
+
33
+ ### Dataset Summary
34
+
35
+ **UNSC-Complete** is the first dataset to combine **ALL** UN Security Council activity:
36
+ - βœ… **2,722 adopted resolutions** (1946-2024) with full texts and voting records
37
+ - ❌ **271 vetoed draft resolutions** (1946-2025) that were blocked by P5 members
38
+ - πŸ“Š **2,993 total records** showing what passes AND what fails at the UN's most powerful body
39
+
40
+ This unified dataset reveals the complete picture of Security Council decision-making, including the **90.9% passage rate** and the critical 9.1% of drafts that never see the light of day due to vetoes.
41
+
42
+ ### 🎯 Why This Dataset Matters
43
+
44
+ Previous datasets only included adopted resolutions, missing the crucial story of what gets blocked. This dataset shows:
45
+ - **271 vetoed drafts** - the "dark matter" of international diplomacy
46
+ - **Russia/USSR: 161 vetoes**, **USA: 95 vetoes**, showing geopolitical fault lines
47
+ - **Cold War vs Post-Cold War dynamics**: 200 vetoes (1946-89) vs 71 vetoes (1990-2025)
48
+ - **Complete voting records**: See exactly how each country voted on every resolution
49
+
50
+ ## πŸ“ Dataset Structure
51
+
52
+ ### Unified Schema
53
+
54
+ Every record (adopted or vetoed) contains:
55
+
56
+ ```json
57
+ {
58
+ "unified_id": 1234,
59
+ "res_no": 242, // Positive for adopted, negative for vetoed
60
+ "symbol": "S/RES/242(1967)", // or draft number for vetoed
61
+ "date": "1967-11-22",
62
+ "status": "adopted", // or "vetoed"
63
+ "is_adopted": true, // boolean flag
64
+
65
+ "vote_yes": 15,
66
+ "vote_no": 0,
67
+ "vote_abstention": 0,
68
+ "voting_countries": [
69
+ {"country": "UNITED STATES", "vote": "yes"},
70
+ {"country": "USSR", "vote": "yes"},
71
+ ...
72
+ ],
73
+
74
+ "has_veto": false,
75
+ "vetoed_by": [], // List of P5 members who vetoed
76
+
77
+ "english_text_best": "Full resolution text...",
78
+ "text_length": 1977,
79
+
80
+ "chapter7": false, // Legal framework indicators
81
+ "enforcement_level": "none", // none/threat/breach/aggression
82
+
83
+ "m49_region": "Asia",
84
+ "cited_resolutions": ["181", "234"],
85
+ ...
86
+ }
87
+ ```
88
+
89
+ ### Key Features
90
+
91
+ | Feature | Description |
92
+ |---------|------------|
93
+ | **Unified ID** | Sequential ID across all records (1-2993) |
94
+ | **Status** | "adopted" or "vetoed" - know immediately what passed |
95
+ | **Voting Details** | Complete country-by-country votes for adopted resolutions |
96
+ | **Veto Information** | Which P5 member(s) blocked each draft |
97
+ | **Legal Framework** | Chapter VI/VII/VIII, enforcement levels, human rights |
98
+ | **Text Content** | Full resolution texts (for adopted) |
99
+ | **Geographic Scope** | Countries and regions mentioned |
100
+ | **Citation Network** | Links between resolutions |
101
+
102
+ ## πŸ“Š Dataset Statistics
103
+
104
+ ### Overall
105
+ - **Total records**: 2,993
106
+ - **Success rate**: 90.9% adopted, 9.1% vetoed
107
+ - **Date range**: 1946-2025 (79 years)
108
+ - **Text length**: 189 to 343,887 characters
109
+
110
+ ### Adopted Resolutions (2,722)
111
+ - **Unanimous**: 81.4%
112
+ - **Chapter VII**: 32.9% (enforcement actions)
113
+ - **With citations**: 94.5%
114
+ - **Human rights**: 29.1%
115
+
116
+ ### Vetoed Drafts (271)
117
+ - **Russia/USSR**: 161 vetoes (59.4%)
118
+ - **United States**: 95 vetoes (35.1%)
119
+ - **United Kingdom**: 32 vetoes (11.8%)
120
+ - **China**: 21 vetoes (7.7%)
121
+ - **France**: 18 vetoes (6.6%)
122
+ - **Double/Triple vetoes**: 43 drafts
123
+
124
+ ### Top Vetoed Topics
125
+ 1. Admission of new Members (60)
126
+ 2. Middle East, including Palestinian question (22)
127
+ 3. Middle East (Syria) (18)
128
+ 4. Occupied Arab territories (16)
129
+ 5. Middle East (Lebanon) (10)
130
+
131
+ ## πŸš€ Supported Tasks
132
+
133
+ ### 1. Veto Prediction (Binary Classification)
134
+ - **Task**: Predict if a draft will be vetoed
135
+ - **Baseline**: 9.1% positive rate (highly imbalanced)
136
+ - **Challenge**: Understand geopolitical red lines
137
+
138
+ ### 2. Passage Prediction (Binary Classification)
139
+ - **Task**: Given draft text/metadata, predict adoption
140
+ - **Baseline**: 90.9% positive rate
141
+ - **Value**: Understand what makes resolutions passable
142
+
143
+ ### 3. P5 Consensus Analysis
144
+ - **Task**: Predict P5 voting alignment
145
+ - **Features**: Historical patterns, topics, regional focus
146
+ - **Insight**: When do great powers agree?
147
+
148
+ ### 4. Temporal Analysis
149
+ - **Task**: Classify era (Cold War/Post-Cold War/War on Terror/Multipolar)
150
+ - **Signal**: Language evolution, topics, voting patterns
151
+ - **Text growth**: 170 words (1946) β†’ 3,600+ words (2011)
152
+
153
+ ### 5. Legal Framework Detection
154
+ - **Chapter VII**: 32.9% of adopted (enforcement)
155
+ - **Threat hierarchy**: none β†’ threat β†’ breach β†’ aggression
156
+ - **Human rights**: Growing from rare to 29.1%
157
+
158
+ ### 6. Geographic Classification
159
+ - **Multi-label**: Africa (33.6%), Asia (22.2%), Europe (6.2%)
160
+ - **Challenge**: Multiple regions per resolution
161
+ - **Vetoed drafts**: Heavy Middle East focus
162
+
163
+ ### 7. Citation Network Analysis
164
+ - **Task**: Predict citation links
165
+ - **Data**: 94.5% of adopted resolutions cite others
166
+ - **Application**: Understanding precedent and evolution
167
+
168
+ ## πŸ“₯ Usage
169
+
170
+ ### Loading the Dataset
171
+
172
+ ```python
173
+ from datasets import load_dataset
174
+
175
+ # Load the unified dataset
176
+ dataset = load_dataset("your-username/unsc-complete")
177
+
178
+ # Separate adopted and vetoed
179
+ adopted = dataset.filter(lambda x: x['is_adopted'])
180
+ vetoed = dataset.filter(lambda x: not x['is_adopted'])
181
+ ```
182
+
183
+ ### Example: Analyzing Veto Patterns
184
+
185
+ ```python
186
+ import pandas as pd
187
+
188
+ # Load the unified dataset
189
+ df = pd.read_json("unsc_unified_dataset.jsonl", lines=True)
190
+
191
+ # Analyze veto patterns over time
192
+ vetoed = df[df['status'] == 'vetoed']
193
+
194
+ # P5 veto counts
195
+ for member in ['United States', 'Russia/USSR', 'China', 'United Kingdom', 'France']:
196
+ count = vetoed['vetoed_by'].apply(lambda x: member in x if x else False).sum()
197
+ print(f"{member}: {count} vetoes")
198
+
199
+ # Veto rate by decade
200
+ veto_rate = df.groupby('decade').agg({
201
+ 'is_adopted': lambda x: (1 - x.mean()) * 100
202
+ }).round(1)
203
+ print(f"Veto rate by decade:\n{veto_rate}")
204
+ ```
205
+
206
+ ### Example: Predicting Passage
207
+
208
+ ```python
209
+ from sklearn.ensemble import RandomForestClassifier
210
+ from sklearn.feature_extraction.text import TfidfVectorizer
211
+
212
+ # Prepare features
213
+ X_text = df['title'].fillna('') + ' ' + df['agenda_information'].fillna('')
214
+ y = df['is_adopted'].astype(int)
215
+
216
+ # Create features
217
+ vectorizer = TfidfVectorizer(max_features=1000)
218
+ X = vectorizer.fit_transform(X_text)
219
+
220
+ # Train model
221
+ model = RandomForestClassifier(class_weight='balanced')
222
+ model.fit(X, y)
223
+
224
+ # Feature importance shows what topics face vetoes
225
+ important_features = vectorizer.get_feature_names_out()[model.feature_importances_.argsort()[-20:]]
226
+ print(f"Topics associated with vetoes: {important_features}")
227
+ ```
228
+
229
+ ## πŸ—‚οΈ Files
230
+
231
+ - **`unsc_unified_dataset.csv`** - Complete unified dataset (28.9 MB)
232
+ - **`unsc_unified_dataset.jsonl`** - JSONL format for streaming (30.8 MB)
233
+ - **`unsc_master_data.csv`** - Adopted resolutions only with full details (28.8 MB)
234
+ - **`unsc_vetoed_drafts.csv`** - Vetoed drafts only (50 KB)
235
+ - **`unsc_voting_details.csv`** - Country-by-country voting records (1.9 MB)
236
+
237
+ ## πŸ“š Data Sources
238
+
239
+ 1. **Adopted Resolutions**: [CR-UNSC Academic Dataset](https://zenodo.org/doi/10.5281/zenodo.11212056) by Fobbe, Gasbarri, and Ridi
240
+ 2. **Vetoed Drafts**: [UN DPPA Security Council Vetoes Database](https://www.un.org/depts/dhl/resguide/scact_veto_table_en.htm)
241
+
242
+ ## βš–οΈ License
243
+
244
+ Released under **CC0 1.0 Universal (Public Domain)** in accordance with UN document policy.
245
+
246
+ ## πŸ“– Citation
247
+
248
+ ```bibtex
249
+ @dataset{unsc_complete_2024,
250
+ title={UN Security Council Complete Dataset (UNSC-Complete)},
251
+ author={[Your Name]},
252
+ year={2024},
253
+ publisher={HuggingFace},
254
+ note={Combines adopted resolutions and vetoed drafts for complete UNSC coverage}
255
+ }
256
+ ```
257
+
258
+ ## 🎯 Key Insights from the Data
259
+
260
+ 1. **Veto Power Shapes Everything**: 271 drafts never became resolutions due to P5 vetoes
261
+ 2. **Cold War Legacy**: 73.8% of all vetoes occurred during Cold War (1946-1989)
262
+ 3. **Middle East Dominance**: Most vetoed topic post-Cold War
263
+ 4. **Text Explosion**: Resolutions grew from ~170 to ~3,600 words, reflecting complexity
264
+ 5. **Consensus Building**: 81.4% of adopted resolutions are unanimous - but this hides the vetoed 9.1%
265
+
266
+ ## πŸ”¬ Research Applications
267
+
268
+ - **International Relations**: Quantify great power politics
269
+ - **Conflict Studies**: What conflicts get UN attention vs ignored?
270
+ - **Legal NLP**: Train models on diplomatic/legal language
271
+ - **Temporal Analysis**: 79 years of language evolution
272
+ - **Network Analysis**: Citation networks reveal precedent patterns
273
+ - **Fairness Studies**: Geographic and political biases in UN action
274
+
275
+ ## πŸ’‘ What Makes This Dataset Unique
276
+
277
+ This is the **FIRST** dataset to show both sides of Security Council action:
278
+ - βœ… What passes (adopted resolutions)
279
+ - ❌ What fails (vetoed drafts)
280
+
281
+ Previous datasets only showed adopted resolutions, missing the critical story of power politics revealed by vetoes. With this complete picture, researchers can finally study:
282
+ - True P5 disagreement rates
283
+ - Topics that trigger vetoes
284
+ - Evolution of international consensus
285
+ - The "selection bias" in adopted resolutions
286
+
287
+ ---
288
+
289
+ **Ready to explore 79 years of international diplomacy? Download the dataset and discover what shapes our world order!**