Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringclasses
1 value
country_or_area
float64
706
706
m49_code
stringclasses
1 value
date
timestamp[ns]date
2013-08-15 00:00:00
2022-08-23 00:00:00
number_of_un_international_staff
float64
152
683
number_of_un_national_staff
float64
75
1.45k
narratives
stringlengths
95
647
source
stringlengths
9
11
last_update
timestamp[ns]date
2023-04-24 00:00:00
2023-04-24 00:00:00
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-09 00:00:00
2026-04-09 00:00:00
Somalia
706
SOM
2017-08-11T00:00:00
545
1,164
As at 11 August, there were 545 international and 1,164 national United Nations personnel deployed throughout Somalia.
S/2017/751
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2014-12-31T00:00:00
331
951
During the reporting period, the international staff figures averaged 331, while national staff figures averaged 951 across Somalia
S/2015/51
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2019-07-25T00:00:00
603
1,367
As at 25 July 2019, there were 603 international staff and 1,367 national staff deployed throughout Somalia.
S/2019/661
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2018-12-31T00:00:00
674
1,288
As of December 2018, there were 674 international and 1,288 national staff deployed throughout Somalia.
S/2018/1149
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2018-03-18T00:00:00
559
1,196
As at 18 March, 559 international and 1,196 national personnel were deployed throughout Somalia.
S/2018/411
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
null
SOM
2022-08-23T00:00:00
630
1,361
United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 23 August, 630 international staff and 1,361 national staff were deployed throughout Somalia.
S/2022/665
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2021-11-04T00:00:00
430
1,417
As at 4 November, 430 international staff and 1,417 national staff had been deployed throughout Somalia.
S/2021/944
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2021-08-04T00:00:00
308
1,261
As at 4 August, 308 international staff and 1,261 national staff were deployed throughout Somalia. Approximately 65 per cent of United Nations staff in Somalia have transitioned to remote work owing to COVID-19.
S/2020/798
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
null
SOM
2022-05-06T00:00:00
607
1,361
United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 6 May, 607 international staff and 1,361 national staff were deployed throughout Somalia.
S/2022/392
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2017-12-01T00:00:00
486
1,175
As of 1 December, there were 486 international and 1,175 national United Nations personnel deployed throughout Somalia.
S/2017/1109
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2014-08-31T00:00:00
330
990
The reoccupation of international compounds along the road to Mogadishu International Airport, closed after the attack of 19 June 2013, began on 24 April with the United Nations common compound. Over the period, in-country staff figures averaged 330 international staff and 990 national staff, with an average of 190 int...
S/2014/699
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2022-01-09T00:00:00
327
1,454
United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 9 January, 327 international staff and 1,454 national staff were deployed throughout Somalia.
S/2022/101
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2013-11-07T00:00:00
329
null
As at 7 November, a total of 329 international staff members from UNSOM and United Nations agencies, funds and programmes were deployed in Somalia.
S/2013/709
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2014-04-30T00:00:00
316
972
As at 28 April, a total of 316 international staff and 972 national staff members from UNSOM and United Nations agencies, funds and programmes had been deployed: 379 in Mogadishu, 65 in Hargeysa, 13 in Boosaaso, 41 in Garoowe and 9 in Gaalkacyo. In southern and central Somalia, the presence of international staff remai...
S/2014/330
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2017-04-30T00:00:00
519
1,149
As at 30 April, there were 519 international and 1,149 national United Nations personnel throughout Somalia. An increasing number of United Nations agencies,funds and programmes operate and maintain a permanent presence of both international and national personnel outside Mogadishu. This number is likely to grow furthe...
S/2017/408
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2013-08-15T00:00:00
309
null
As at 15 August, a total of 309 international personnel from United Nations agencies, funds and programmes were deployed in Somalia, 21 of them in southern and central Somalia.
S/2013/521
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2015-08-31T00:00:00
408
1,024
During the reporting period, the number of international staff averaged 408 across Somalia, while the number of national staff averaged 1,024.
S/2015/702
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2021-05-05T00:00:00
388
1,299
As at 5 May, 388 international staff and 1,299 national staff were deployed throughout Somalia.
S/2021/485
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2021-02-01T00:00:00
683
1,308
As of 1 February 2020, there were 683 international staff members and 1,308 national staff members deployed throughout Somalia.
S/2020/121
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2018-08-29T00:00:00
152
75
As at 29 August, 152 international and 75 national personnel had been deployed throughout Somalia.
S/2018/800
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2015-12-31T00:00:00
432
1,037
During the reporting period, the number of international staff averaged 432 across Somalia, while the number of national staff averaged 1,037. The international staff average for Mogadishu was 294, factoring in a reduction in the number owing to significant damage to the United Nations common compound as a result of th...
S/2016/27
2023-04-24T00:00:00
HDX
2026-04-09
Somalia
706
SOM
2021-07-31T00:00:00
395
1,362
As at 31 July, 395 international staff and 1,362 national staff were deployed throughout Somalia.
S/2021/723
2023-04-24T00:00:00
HDX
2026-04-09

Peace and Security Pillar: UN Presence in Somalia, Data From Secretary General Reports

Publisher: United Nations Peace and Security Data Hub · Source: HDX · License: cc-by-igo · Updated: 2026-04-09


Abstract

This dataset was last updated in April 2023 and will no longer receive updates. Historical data remains available for reference.

This dataset is an extraction of information from the Secretary General's Report on the situation in Somalia (SG reports) since 2013. It provides the number of UN personnel, including international and national, in the country.

Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the date, last_update column(s). Geographic scope: SOM.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Conflict and security
Unit of observation Country-level aggregates
Rows (total) 28
Columns 11 (3 numeric, 6 categorical, 2 datetime)
Train split 22 rows
Test split 5 rows
Geographic scope SOM
Publisher United Nations Peace and Security Data Hub
HDX last updated 2026-04-09

Variables

Geographiccountry_or_area (range 706.0–706.0).

Temporaldate, last_update.

Outcome / Measurementnumber_of_un_international_staff (range 152.0–783.0), number_of_un_national_staff (range 75.0–1556.0).

Identifier / Metadataid (Somalia), m49_code (SOM), source (S/2023/109, S/2022/665, S/2013/709), esa_source (HDX), esa_processed (2026-04-09).

Othernarratives (United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 7 February, 783 international staff and 1,556 national staff were deployed throughout Somalia., United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 23 August, 630 international staff and 1,361 national staff were deployed throughout Somalia., As at 7 November, a total of 329 international staff members from UNSOM and United Nations agencies, funds and programmes were deployed in Somalia.).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-unsom-sgrunpresence")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
id object 0.0% Somalia
country_or_area float64 10.7% 706.0 – 706.0 (mean 706.0)
m49_code object 0.0% SOM
date datetime64[ns] 0.0%
number_of_un_international_staff float64 0.0% 152.0 – 783.0 (mean 459.0714)
number_of_un_national_staff float64 7.1% 75.0 – 1556.0 (mean 1183.1923)
narratives object 0.0% United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 7 February, 783 international staff and 1,556 national staff were deployed throughout Somalia., United Nations entities remained present in Baidoa, Beledweyne, Berbera, Boosaaso, Dhooble, Dhuusamarreeb, Doolow, Gaalkacyo, Garoowe, Hargeysa, Jawhar, Kismaayo and Mogadishu. As at 23 August, 630 international staff and 1,361 national staff were deployed throughout Somalia., As at 7 November, a total of 329 international staff members from UNSOM and United Nations agencies, funds and programmes were deployed in Somalia.
source object 0.0% S/2023/109, S/2022/665, S/2013/709
last_update datetime64[ns] 0.0%
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-09

Numeric Summary

Column Min Max Mean Median
country_or_area 706.0 706.0 706.0 706.0
number_of_un_international_staff 152.0 783.0 459.0714 419.0
number_of_un_national_staff 75.0 1556.0 1183.1923 1264.0

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. 2 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 United Nations Peace and Security Data Hub and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_unsom_sgrunpresence,
  title     = {Peace and Security Pillar: UN Presence in Somalia, Data From Secretary General Reports},
  author    = {United Nations Peace and Security Data Hub},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/unsom-sgrunpresence},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.

Downloads last month
15