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
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- tabular-regression
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- xlsx
|
| 14 |
+
- africa
|
| 15 |
+
- libya
|
| 16 |
+
- official-statistics
|
| 17 |
+
- open-data
|
| 18 |
+
- population
|
| 19 |
+
configs:
|
| 20 |
+
- config_name: default
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: data/train-00000-of-00001.parquet
|
| 24 |
+
pretty_name: "Libya: Humanitarian Needs Overview | Africa (Libya official open data)"
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Libya: Humanitarian Needs Overview | Africa (Libya official open data)
|
| 28 |
+
|
| 29 |
+
46 rows - 1 Africa country - 2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+

|
| 33 |
+

|
| 34 |
+

|
| 35 |
+

|
| 36 |
+
|
| 37 |
+
## TL;DR
|
| 38 |
+
|
| 39 |
+
This dataset packages one official `XLSX` resource from **Libya** as
|
| 40 |
+
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 41 |
+
indicators or tabular columns from the resource stay together in this repo.
|
| 42 |
+
|
| 43 |
+
## About the source
|
| 44 |
+
|
| 45 |
+
- **Source:** [Libya: Humanitarian Needs Overview](https://data.humdata.org/dataset/libya-humanitarian-needs-overview)
|
| 46 |
+
- **Publisher:** OCHA Libya (inactive)
|
| 47 |
+
- **Resource:** [LBY_HNO_2021.xlsx](https://data.humdata.org/dataset/f2557dd3-3343-416c-8041-978940523044/resource/854fd734-239c-4039-ab4d-7a640db63474/download/lby_hno_2021.xlsx)
|
| 48 |
+
- **Format:** `XLSX`
|
| 49 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 50 |
+
- **Packaging mode:** `tabular_resource`
|
| 51 |
+
|
| 52 |
+
## Geographic coverage
|
| 53 |
+
|
| 54 |
+
1 Africa country:
|
| 55 |
+
|
| 56 |
+
| Country | Rows | First year | Last year | Name |
|
| 57 |
+
|---------|-----:|-----------:|----------:|------|
|
| 58 |
+
| `LBY` | 46 | 2021 | 2021 | `Libya` |
|
| 59 |
+
|
| 60 |
+
## Indicators or Resource Contents
|
| 61 |
+
|
| 62 |
+
- This source file is packaged as a normalized tabular resource.
|
| 63 |
+
|
| 64 |
+
## Schema
|
| 65 |
+
|
| 66 |
+
| Column | Type | Description | Example |
|
| 67 |
+
|--------|------|-------------|---------|
|
| 68 |
+
| `source_record_id` | `string` | Stable row identifier for tabular resources. | `854fd734-239c-4039-ab4d-7a640db63474:pins-by-sector:0` |
|
| 69 |
+
| `country_iso3` | `category` | ISO3 country code. | `LBY` |
|
| 70 |
+
| `country_name` | `category` | Country name. | `Libya` |
|
| 71 |
+
| `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `PiNs by Sector` |
|
| 72 |
+
| `year` | `Int64` | Observation year. | `2021` |
|
| 73 |
+
| `location` | `string` | Source column. | `#adm2 +name` |
|
| 74 |
+
| `snfi` | `float64` | Source column. | `` |
|
| 75 |
+
| `general_protection` | `float64` | Source column. | `` |
|
| 76 |
+
| `mine_action` | `float64` | Source column. | `` |
|
| 77 |
+
| `child_protection` | `float64` | Source column. | `` |
|
| 78 |
+
| `gbv` | `float64` | Source column. | `` |
|
| 79 |
+
| `edu` | `float64` | Source column. | `` |
|
| 80 |
+
| `wash` | `float64` | Source column. | `` |
|
| 81 |
+
| `health` | `float64` | Source column. | `` |
|
| 82 |
+
| `fss` | `float64` | Source column. | `` |
|
| 83 |
+
| `mpca` | `float64` | Source column. | `` |
|
| 84 |
+
| `intersectoral_pin` | `float64` | Source column. | `` |
|
| 85 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2021` |
|
| 86 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
|
| 87 |
+
| `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2021` |
|
| 88 |
+
| `source_provider` | `category` | Publishing organization. | `OCHA Libya (inactive)` |
|
| 89 |
+
| `source_dataset` | `category` | Source package title. | `Libya: Humanitarian Needs Overview` |
|
| 90 |
+
| `source_resource` | `category` | Source resource title. | `LBY_HNO_2021.xlsx` |
|
| 91 |
+
| `source_package_id` | `category` | CKAN package UUID. | `f2557dd3-3343-416c-8041-978940523044` |
|
| 92 |
+
| `source_resource_id` | `category` | CKAN resource UUID. | `854fd734-239c-4039-ab4d-7a640db63474` |
|
| 93 |
+
| `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/f2557dd3-3343-416c-8041-978940523044/re` |
|
| 94 |
+
| `license_id` | `category` | Source license identifier. | `cc-by` |
|
| 95 |
+
| `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-17T13:13:43Z` |
|
| 96 |
+
| `intersectoral_target` | `float64` | Source column. | `` |
|
| 97 |
+
|
| 98 |
+
## Usage
|
| 99 |
+
|
| 100 |
+
```python
|
| 101 |
+
from datasets import load_dataset
|
| 102 |
+
|
| 103 |
+
ds = load_dataset("electricsheepafrica/africa-libya-libya-humanitarian-needs-overview-297b5168")
|
| 104 |
+
df = ds["train"].to_pandas()
|
| 105 |
+
print(df.head())
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
### Filter to one country
|
| 109 |
+
|
| 110 |
+
```python
|
| 111 |
+
sample_country = df[df["country_iso3"] == "LBY"]
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
### Work with indicators
|
| 115 |
+
|
| 116 |
+
```python
|
| 117 |
+
if "indicator_id" in df.columns:
|
| 118 |
+
print(df["indicator_id"].value_counts().head())
|
| 119 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
## Citation
|
| 123 |
+
|
| 124 |
+
```bibtex
|
| 125 |
+
@misc{electric_sheep_africa_africa_libya_libya_humanitarian_needs_overview_297b5168_2021,
|
| 126 |
+
title = {Libya: Humanitarian Needs Overview | Africa (Libya official open data)},
|
| 127 |
+
author = {OCHA Libya (inactive)},
|
| 128 |
+
year = {2021},
|
| 129 |
+
url = {https://data.humdata.org/dataset/libya-humanitarian-needs-overview},
|
| 130 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 131 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-libya-libya-humanitarian-needs-overview-297b5168}}
|
| 132 |
+
}
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
## License
|
| 136 |
+
|
| 137 |
+
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 138 |
+
|
| 139 |
+
Original data (c) OCHA Libya (inactive). When using this dataset, please cite both the
|
| 140 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 141 |
+
|
| 142 |
+
## About Electric Sheep
|
| 143 |
+
|
| 144 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 145 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 146 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 147 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 148 |
+
to start working in seconds.
|
| 149 |
+
|
| 150 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
Provenance: ingested 2026-08-17 via the Electric Sheep pipeline. Source URL:
|
| 155 |
+
https://data.humdata.org/dataset/f2557dd3-3343-416c-8041-978940523044/resource/854fd734-239c-4039-ab4d-7a640db63474/download/lby_hno_2021.xlsx
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:405ca94143b6e7d5b65818dc044340b7d141830c5510c52c00776ebdcd4d4100
|
| 3 |
+
size 24520
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"source_record_id",
|
| 4 |
+
"country_iso3",
|
| 5 |
+
"country_name",
|
| 6 |
+
"source_sheet",
|
| 7 |
+
"year",
|
| 8 |
+
"location",
|
| 9 |
+
"snfi",
|
| 10 |
+
"general_protection",
|
| 11 |
+
"mine_action",
|
| 12 |
+
"child_protection",
|
| 13 |
+
"gbv",
|
| 14 |
+
"edu",
|
| 15 |
+
"wash",
|
| 16 |
+
"health",
|
| 17 |
+
"fss",
|
| 18 |
+
"mpca",
|
| 19 |
+
"intersectoral_pin",
|
| 20 |
+
"source_period_start_year",
|
| 21 |
+
"source_period_end_year",
|
| 22 |
+
"source_period_label",
|
| 23 |
+
"source_provider",
|
| 24 |
+
"source_dataset",
|
| 25 |
+
"source_resource",
|
| 26 |
+
"source_package_id",
|
| 27 |
+
"source_resource_id",
|
| 28 |
+
"source_url",
|
| 29 |
+
"license_id",
|
| 30 |
+
"retrieved_at",
|
| 31 |
+
"intersectoral_target"
|
| 32 |
+
],
|
| 33 |
+
"generated_at": "2026-08-17T13:55:17Z",
|
| 34 |
+
"indicator_count": 0,
|
| 35 |
+
"mode": "tabular_resource",
|
| 36 |
+
"repo_id": "electricsheepafrica/africa-libya-libya-humanitarian-needs-overview-297b5168",
|
| 37 |
+
"rows": 46,
|
| 38 |
+
"source": {
|
| 39 |
+
"api_base_url": "https://data.humdata.org/api/3/action",
|
| 40 |
+
"country_iso3": "LBY",
|
| 41 |
+
"country_name": "Libya",
|
| 42 |
+
"group_names": "lby",
|
| 43 |
+
"license_id": "cc-by",
|
| 44 |
+
"license_title": "Creative Commons Attribution International (CC BY)",
|
| 45 |
+
"license_url": "http://www.opendefinition.org/licenses/cc-by",
|
| 46 |
+
"organization_name": "ocha-libya",
|
| 47 |
+
"organization_title": "OCHA Libya (inactive)",
|
| 48 |
+
"package_id": "f2557dd3-3343-416c-8041-978940523044",
|
| 49 |
+
"package_name": "libya-humanitarian-needs-overview",
|
| 50 |
+
"package_notes": "This dataset was compiled by the United Nations Office for the Coordination of Humanitarian Affairs (UNOCHA) on behalf of the Humanitarian Country Team and partners. It provides the Humanitarian Country Team’s shared understanding of the crisis, including the most pressing humanitarian need and the estimated number of people who need assistance, and represents a consolidated evidence base and helps inform joint strategic response planning.",
|
| 51 |
+
"package_page_url": "https://data.humdata.org/dataset/libya-humanitarian-needs-overview",
|
| 52 |
+
"package_title": "Libya: Humanitarian Needs Overview",
|
| 53 |
+
"portal_url": "https://data.humdata.org",
|
| 54 |
+
"resource_description": "Libya Humanitarian Needs Overview 2021",
|
| 55 |
+
"resource_format": "XLSX",
|
| 56 |
+
"resource_id": "854fd734-239c-4039-ab4d-7a640db63474",
|
| 57 |
+
"resource_last_modified": "2021-03-24T13:55:30.201678",
|
| 58 |
+
"resource_name": "LBY_HNO_2021.xlsx",
|
| 59 |
+
"resource_position": "1",
|
| 60 |
+
"resource_url": "https://data.humdata.org/dataset/f2557dd3-3343-416c-8041-978940523044/resource/854fd734-239c-4039-ab4d-7a640db63474/download/lby_hno_2021.xlsx",
|
| 61 |
+
"tag_names": "affected area,affected population,gender and age disaggregated data-gadd,humanitarian needs overview-hno,hxl,people in need-pin,severity"
|
| 62 |
+
},
|
| 63 |
+
"year_max": 2021,
|
| 64 |
+
"year_min": 2021
|
| 65 |
+
}
|