lszoszk commited on
Commit
acd9c83
·
verified ·
1 Parent(s): 13f19fc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +143 -0
README.md ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-4.0
5
+ task_categories:
6
+ - text-classification
7
+ - text-retrieval
8
+ tags:
9
+ - human-rights
10
+ - united-nations
11
+ - ohchr
12
+ - uhri
13
+ - treaty-bodies
14
+ - upr
15
+ - special-procedures
16
+ - recommendations
17
+ - international-law
18
+ pretty_name: UN Human Rights Recommendations (UHRI+)
19
+ size_categories:
20
+ - 100K<n<1M
21
+ dataset_info:
22
+ features:
23
+ - name: annotation_id
24
+ dtype: string
25
+ - name: symbol
26
+ dtype: string
27
+ - name: body
28
+ dtype: string
29
+ - name: publication_date
30
+ dtype: string
31
+ - name: publication_year
32
+ dtype: int64
33
+ - name: annotation_type
34
+ dtype: string
35
+ - name: countries
36
+ sequence: string
37
+ - name: regions
38
+ sequence: string
39
+ - name: affected_persons
40
+ sequence: string
41
+ - name: themes
42
+ sequence: string
43
+ - name: sdgs
44
+ sequence: string
45
+ - name: text_original
46
+ dtype: string
47
+ - name: text_cleaned
48
+ dtype: string
49
+ - name: citation
50
+ dtype: string
51
+ splits:
52
+ - name: train
53
+ num_examples: 267671
54
+ ---
55
+
56
+ # UN Human Rights Recommendations (UHRI+)
57
+
58
+ A cleaned and normalized dataset of **267,671 country-specific human rights observations and recommendations** from three UN mechanisms, covering 2006–2026.
59
+
60
+ Built on the [OHCHR Universal Human Rights Index](https://uhri.ohchr.org) (UHRI) — the authoritative UN source — with systematic data quality improvements applied on top.
61
+
62
+ ## Coverage
63
+
64
+ | Mechanism | Records | Bodies |
65
+ |---|---|---|
66
+ | Universal Periodic Review (UPR) | 127,625 | 1 |
67
+ | Treaty Bodies | ~103,000 | 12 (CCPR, CAT, CERD, CEDAW, CRC, CESCR, CMW, CRPD, CED, SPT, CRC-OP-AC, CRC-OP-SC) |
68
+ | Special Procedures (SR, IE, WG) | ~37,000 | 57 |
69
+
70
+ **198 state parties** covered, including Cook Islands, Niue (non-UN-member states), State of Palestine\*, Holy See (UN observer states), and Kosovo\* (contested status).
71
+
72
+ ## Cleaning pipeline (5 stages)
73
+
74
+ | Stage | Issue | Records affected |
75
+ |---|---|---|
76
+ | 1 | OCR/encoding artefacts (ligatures, spacing, smart quotes) | ~8,000 |
77
+ | 2 | Structural normalisation (section headings, paragraph markers) | ~3,500 |
78
+ | 3 | Deduplication of near-identical records | ~1,200 |
79
+ | 4 | Country backfill from UN document symbol | 106 |
80
+ | 5 | Body name normalisation (78 → 70 unique bodies) | 1,481 |
81
+
82
+ The `text_cleaned` field reflects all five stages. `text_original` preserves the raw OHCHR export text.
83
+
84
+ ## Schema
85
+
86
+ | Field | Type | Description |
87
+ |---|---|---|
88
+ | `annotation_id` | string | OHCHR UUID |
89
+ | `symbol` | string | UN document symbol (e.g. `CEDAW/C/ALB/CO/4`) |
90
+ | `body` | string | Issuing body short code (e.g. `CEDAW`, `UPR`, `SR Torture`) |
91
+ | `publication_date` | string | ISO date (YYYY-MM-DD) |
92
+ | `publication_year` | int | Year for fast filtering |
93
+ | `annotation_type` | string | `Recommendations` or `Concerns/Observations` |
94
+ | `countries` | list[str] | Target countries (full names) |
95
+ | `regions` | list[str] | UN M49 regions |
96
+ | `affected_persons` | list[str] | OHCHR affected-person categories |
97
+ | `themes` | list[str] | OHCHR thematic categories |
98
+ | `sdgs` | list[str] | SDG tags |
99
+ | `text_original` | string | Raw OHCHR export text |
100
+ | `text_cleaned` | string | Text after 5-stage cleaning pipeline |
101
+ | `citation` | string | Formatted citation |
102
+
103
+ ## Quick start
104
+
105
+ ```python
106
+ from datasets import load_dataset
107
+
108
+ ds = load_dataset("lszoszk/uhri-recommendations")
109
+
110
+ # Filter by country
111
+ poland = ds["train"].filter(lambda x: "Poland" in x["countries"])
112
+
113
+ # Filter by mechanism
114
+ upr = ds["train"].filter(lambda x: x["body"] == "UPR")
115
+
116
+ # Search recommendations
117
+ torture = ds["train"].filter(lambda x: "torture" in x["text_cleaned"].lower())
118
+ ```
119
+
120
+ ## Live dashboard
121
+
122
+ An interactive search and analytics dashboard built on this dataset:
123
+ **[https://lszoszk.github.io/UnitedNations_recommendations/](https://lszoszk.github.io/UnitedNations_recommendations/)**
124
+
125
+ Features: boolean + wildcard + FTS5 stemmed search, per-country profiles, hex map, timeline analytics, SDG mapping.
126
+
127
+ ## Citation
128
+
129
+ ```bibtex
130
+ @dataset{szoszkiewicz2026uhri,
131
+ author = {Szoszkiewicz, Lukasz},
132
+ title = {UN Human Rights Recommendations (UHRI+)},
133
+ year = {2026},
134
+ publisher = {Hugging Face},
135
+ url = {https://huggingface.co/datasets/lszoszk/uhri-recommendations},
136
+ note = {Cleaned dataset built on OHCHR Universal Human Rights Index, 2006--2026}
137
+ }
138
+ ```
139
+
140
+ ## Licence
141
+
142
+ Dataset content © OHCHR, released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
143
+ Cleaning pipeline and metadata additions © L. Szoszkiewicz (Adam Mickiewicz University, Poznań).