five

electricsheepafrica/africa-ucdp-data-for-kingdom-of-eswatini

收藏
Hugging Face2026-04-06 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-ucdp-data-for-kingdom-of-eswatini
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - n<1K source_datasets: - original task_categories: - tabular-classification - other task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - conflict-violence - hxl - swz pretty_name: "Kingdom of Eswatini - Data on Conflict Events" dataset_info: splits: - name: train num_examples: 14 - name: test num_examples: 3 --- # Kingdom of Eswatini - Data on Conflict Events **Publisher:** HDX · **Source:** [HDX](https://data.humdata.org/dataset/ucdp-data-for-kingdom-of-eswatini) · **License:** `cc-by-igo` · **Updated:** 2025-03-10 --- ## Abstract This dataset is UCDP's most disaggregated dataset, covering individual events of organized violence (phenomena of lethal violence occurring at a given time and place). These events are sufficiently fine-grained to be geo-coded down to the level of individual villages, with temporal durations disaggregated to single, individual days. Sundberg, Ralph, and Erik Melander, 2013, “Introducing the UCDP Georeferenced Event Dataset”, Journal of Peace Research, vol.50, no.4, 523-532 Högbladh Stina, 2019, “UCDP GED Codebook version 19.1”, Department of Peace and Conflict Research, Uppsala University Each row in this dataset represents first-level administrative unit observations. Temporal coverage is indicated by the `date_start`, `date_end` column(s). Geographic scope: **SWZ**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Conflict and security | | **Unit of observation** | First-level administrative unit observations | | **Rows (total)** | 18 | | **Columns** | 51 (28 numeric, 21 categorical, 2 datetime) | | **Train split** | 14 rows | | **Test split** | 3 rows | | **Geographic scope** | SWZ | | **Publisher** | HDX | | **HDX last updated** | 2025-03-10 | --- ## Variables **Geographic** — `year` (range 1989.0–2021.0), `active_year` (range 0.0–1.0), `type_of_violence` (range 3.0–3.0), `dyad_dset_id` (range 102.0–1212.0), `dyad_new_id` (range 944.0–2485.0) and 9 others. **Temporal** — `source_date` (2020-08-04, 2020-04-09, 2019-08-01), `date_prec` (range 1.0–4.0), `date_start`, `date_end`. **Outcome / Measurement** — `number_of_sources` (range -1.0–5.0), `deaths_a`, `deaths_b`, `deaths_civilians`, `deaths_unknown`. **Identifier / Metadata** — `id` (range 14863.0–419563.0), `relid` (SAF-1989-3-560-5, SWA-2021-3-2485-5, SWA-2021-3-2485-16), `code_status` (Clear), `conflict_dset_id` (range 102.0–1212.0), `conflict_new_id` (range 477.0–2003.0) and 14 others. **Other** — `where_prec` (range 1.0–6.0), `where_description`, `adm_1`, `adm_2`, `geom_wkt` and 4 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ucdp-data-for-kingdom-of-eswatini") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `id` | float64 | 5.6% | 14863.0 – 419563.0 (mean 344326.0) | | `relid` | object | 5.6% | SAF-1989-3-560-5, SWA-2021-3-2485-5, SWA-2021-3-2485-16 | | `year` | float64 | 5.6% | 1989.0 – 2021.0 (mean 2016.7647) | | `active_year` | float64 | 5.6% | 0.0 – 1.0 (mean 0.7059) | | `code_status` | object | 5.6% | Clear | | `type_of_violence` | float64 | 5.6% | 3.0 – 3.0 (mean 3.0) | | `conflict_dset_id` | float64 | 5.6% | 102.0 – 1212.0 (mean 1081.4118) | | `conflict_new_id` | float64 | 5.6% | 477.0 – 2003.0 (mean 1823.4706) | | `conflict_name` | object | 5.6% | Government of eSwatini (Swaziland) - Civilians, Government of South Africa - Civilians | | `dyad_dset_id` | float64 | 5.6% | 102.0 – 1212.0 (mean 1081.4118) | | `dyad_new_id` | float64 | 5.6% | 944.0 – 2485.0 (mean 2303.7059) | | `dyad_name` | object | 5.6% | Government of eSwatini (Swaziland) - Civilians, Government of South Africa - Civilians | | `side_a_dset_id` | float64 | 5.6% | 102.0 – 1212.0 (mean 1081.4118) | | `side_a_new_id` | float64 | 5.6% | 102.0 – 1212.0 (mean 1081.4118) | | `side_a` | object | 0.0% | Government of eSwatini (Swaziland), Government of South Africa, #group+name+first | | `side_b_dset_id` | float64 | 5.6% | 9999.0 – 9999.0 (mean 9999.0) | | `side_b_new_id` | float64 | 5.6% | 1.0 – 1.0 (mean 1.0) | | `side_b` | object | 0.0% | Civilians, #group+name+second | | `number_of_sources` | float64 | 5.6% | -1.0 – 5.0 (mean 1.9412) | | `source_article` | object | 0.0% | TRC Report, "All Africa,2020-08-04,Swaziland Police Kill Another Unarmed Man Reviving Fears of Shoot-to-Kill Policy CR Swazi Media Commentary", #meta+source | | `source_office` | object | 16.7% | All Africa, Agence France Presse, Times of Swaziland | | `source_date` | object | 16.7% | 2020-08-04, 2020-04-09, 2019-08-01 | | `source_headline` | object | 11.1% | Swaziland Police Kill Another Unarmed Man Reviving Fears of Shoot-to-Kill Policy CR Swazi Media Commentary, #description, Swaziland Govt or Agents 'Committed Unlawful Killings', New Human Rights Report States CR Swazi Media Commentary | | `source_original` | object | 22.2% | | | `where_prec` | float64 | 5.6% | 1.0 – 6.0 (mean 1.9412) | | `where_coordinates` | object | 0.0% | | | `where_description` | object | 16.7% | | | `adm_1` | object | 11.1% | | | `adm_2` | object | 55.6% | | | `latitude` | float64 | 5.6% | -27.1176 – -26.3163 (mean -26.4981) | | `longitude` | float64 | 5.6% | 31.0167 – 31.7686 (mean 31.273) | | `geom_wkt` | object | 5.6% | | | `priogrid_gid` | float64 | 5.6% | 90423.0 – 91864.0 (mean 91609.1176) | | `country` | object | 0.0% | | | `iso3` | object | 0.0% | | | `country_id` | float64 | 5.6% | 572.0 – 572.0 (mean 572.0) | | `region` | object | 0.0% | | | `event_clarity` | float64 | 5.6% | 1.0 – 1.0 (mean 1.0) | | `date_prec` | float64 | 5.6% | 1.0 – 4.0 (mean 1.3529) | | `date_start` | datetime64[ns] | 5.6% | | | `date_end` | datetime64[ns] | 5.6% | | | `deaths_a` | float64 | 5.6% | | | `deaths_b` | float64 | 5.6% | | | `deaths_civilians` | float64 | 5.6% | | | `deaths_unknown` | float64 | 5.6% | | | `best` | float64 | 5.6% | | | `high` | float64 | 5.6% | | | `low` | float64 | 5.6% | | | `gwnoa` | float64 | 5.6% | | | `esa_source` | object | 0.0% | | | `esa_processed` | object | 0.0% | | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `id` | 14863.0 | 419563.0 | 344326.0 | 406590.0 | | `year` | 1989.0 | 2021.0 | 2016.7647 | 2021.0 | | `active_year` | 0.0 | 1.0 | 0.7059 | 1.0 | | `type_of_violence` | 3.0 | 3.0 | 3.0 | 3.0 | | `conflict_dset_id` | 102.0 | 1212.0 | 1081.4118 | 1212.0 | | `conflict_new_id` | 477.0 | 2003.0 | 1823.4706 | 2003.0 | | `dyad_dset_id` | 102.0 | 1212.0 | 1081.4118 | 1212.0 | | `dyad_new_id` | 944.0 | 2485.0 | 2303.7059 | 2485.0 | | `side_a_dset_id` | 102.0 | 1212.0 | 1081.4118 | 1212.0 | | `side_a_new_id` | 102.0 | 1212.0 | 1081.4118 | 1212.0 | | `side_b_dset_id` | 9999.0 | 9999.0 | 9999.0 | 9999.0 | | `side_b_new_id` | 1.0 | 1.0 | 1.0 | 1.0 | | `number_of_sources` | -1.0 | 5.0 | 1.9412 | 1.0 | | `where_prec` | 1.0 | 6.0 | 1.9412 | 1.0 | | `latitude` | -27.1176 | -26.3163 | -26.4981 | -26.4833 | --- ## Curation Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. 1 column(s) with >80% missing values were removed: `gwnob`. 6 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet. --- ## Limitations - Data originates from HDX and has not been independently validated by ESA. - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection. - The following columns have >20% missing values and should be treated with caution in modelling: `source_original`, `adm_2`. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/ucdp-data-for-kingdom-of-eswatini) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_ucdp_data_for_kingdom_of_eswatini, title = {Kingdom of Eswatini - Data on Conflict Events}, author = {HDX}, year = {2025}, url = {https://data.humdata.org/dataset/ucdp-data-for-kingdom-of-eswatini}, note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)} } ``` --- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
提供机构:
electricsheepafrica
二维码
社区交流群
二维码
科研交流群
商业服务