Add README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,161 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: countrycode
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: id
|
| 7 |
-
dtype: float64
|
| 8 |
-
- name: name
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: code
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: typeid
|
| 13 |
-
dtype: float64
|
| 14 |
-
- name: typename
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: startdate
|
| 17 |
-
dtype: timestamp[ns]
|
| 18 |
-
- name: enddate
|
| 19 |
-
dtype: timestamp[ns]
|
| 20 |
-
- name: year
|
| 21 |
-
dtype: int64
|
| 22 |
-
- name: requirements
|
| 23 |
-
dtype: float64
|
| 24 |
-
- name: funding
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: percentfunded
|
| 27 |
-
dtype: float64
|
| 28 |
-
- name: esa_source
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: esa_processed
|
| 31 |
-
dtype: string
|
| 32 |
splits:
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
dataset_size: 4159
|
| 38 |
-
configs:
|
| 39 |
-
- config_name: default
|
| 40 |
-
data_files:
|
| 41 |
-
- split: train
|
| 42 |
-
path: data/train-*
|
| 43 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
- tabular-regression
|
| 18 |
+
task_ids: []
|
| 19 |
+
tags:
|
| 20 |
+
- africa
|
| 21 |
+
- humanitarian
|
| 22 |
+
- hdx
|
| 23 |
+
- electric-sheep-africa
|
| 24 |
+
- covid-19
|
| 25 |
+
- funding
|
| 26 |
+
- humanitarian-financial-tracking-service-fts
|
| 27 |
+
- lby
|
| 28 |
+
pretty_name: "Libya - Requirements and Funding Data"
|
| 29 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
splits:
|
| 31 |
+
- name: train
|
| 32 |
+
num_examples: 28
|
| 33 |
+
- name: test
|
| 34 |
+
num_examples: 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
---
|
| 36 |
+
|
| 37 |
+
# Libya - Requirements and Funding Data
|
| 38 |
+
|
| 39 |
+
**Publisher:** OCHA Financial Tracking System (FTS) · **Source:** [HDX](https://data.humdata.org/dataset/lby-requirements-and-funding-data) · **License:** `cc-by-igo` · **Updated:** 2026-04-03
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## Abstract
|
| 44 |
+
|
| 45 |
+
FTS publishes data on humanitarian funding flows as reported by donors and recipient organizations. It presents all humanitarian funding to a country and funding that is specifically reported or that can be specifically mapped against funding requirements stated in humanitarian response plans. The data comes from OCHA's [Financial Tracking Service](https://fts.unocha.org/) and is encoded as utf-8.
|
| 46 |
+
|
| 47 |
+
Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `startdate`, `enddate` column(s). Geographic scope: **LBY**.
|
| 48 |
+
|
| 49 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Dataset Characteristics
|
| 54 |
+
|
| 55 |
+
| | |
|
| 56 |
+
|---|---|
|
| 57 |
+
| **Domain** | Humanitarian and development data |
|
| 58 |
+
| **Unit of observation** | Country-level aggregates |
|
| 59 |
+
| **Rows (total)** | 35 |
|
| 60 |
+
| **Columns** | 14 (6 numeric, 6 categorical, 2 datetime) |
|
| 61 |
+
| **Train split** | 28 rows |
|
| 62 |
+
| **Test split** | 7 rows |
|
| 63 |
+
| **Geographic scope** | LBY |
|
| 64 |
+
| **Publisher** | OCHA Financial Tracking System (FTS) |
|
| 65 |
+
| **HDX last updated** | 2026-04-03 |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## Variables
|
| 70 |
+
|
| 71 |
+
**Geographic** — `countrycode` (LBY), `typeid` (range 4.0–111.0), `typename` (Humanitarian response plan, Regional response plan, Flash appeal), `year` (range 2005.0–2027.0).
|
| 72 |
+
|
| 73 |
+
**Temporal** — `startdate`, `enddate`.
|
| 74 |
+
|
| 75 |
+
**Outcome / Measurement** — `percentfunded` (range 5.0–128.0).
|
| 76 |
+
|
| 77 |
+
**Identifier / Metadata** — `id` (range 365.0–1523.0), `name` (Not specified, Sudan Emergency: Regional Refugee Response Plan 2026, Sudan Emergency: Regional Refugee Response Plan 2025), `code` (RREG26a, RRSDN25, FLBY24), `esa_source` (HDX), `esa_processed` (2026-04-04).
|
| 78 |
+
|
| 79 |
+
**Other** — `requirements` (range 10676371.0–312740102.0), `funding` (range 60976.0–150268390.0).
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## Quick Start
|
| 84 |
+
|
| 85 |
+
```python
|
| 86 |
+
from datasets import load_dataset
|
| 87 |
+
|
| 88 |
+
ds = load_dataset("electricsheepafrica/africa-lby-requirements-and-funding-data")
|
| 89 |
+
train = ds["train"].to_pandas()
|
| 90 |
+
test = ds["test"].to_pandas()
|
| 91 |
+
|
| 92 |
+
print(train.shape)
|
| 93 |
+
train.head()
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## Schema
|
| 99 |
+
|
| 100 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 101 |
+
|---|---|---|---|
|
| 102 |
+
| `countrycode` | object | 0.0% | LBY |
|
| 103 |
+
| `id` | float64 | 57.1% | 365.0 – 1523.0 (mean 867.8667) |
|
| 104 |
+
| `name` | object | 0.0% | Not specified, Sudan Emergency: Regional Refugee Response Plan 2026, Sudan Emergency: Regional Refugee Response Plan 2025 |
|
| 105 |
+
| `code` | object | 57.1% | RREG26a, RRSDN25, FLBY24 |
|
| 106 |
+
| `typeid` | float64 | 57.1% | 4.0 – 111.0 (mean 32.8) |
|
| 107 |
+
| `typename` | object | 57.1% | Humanitarian response plan, Regional response plan, Flash appeal |
|
| 108 |
+
| `startdate` | datetime64[ns] | 57.1% | |
|
| 109 |
+
| `enddate` | datetime64[ns] | 57.1% | |
|
| 110 |
+
| `year` | int64 | 0.0% | 2005.0 – 2027.0 (mean 2018.3429) |
|
| 111 |
+
| `requirements` | float64 | 60.0% | 10676371.0 – 312740102.0 (mean 114052953.4286) |
|
| 112 |
+
| `funding` | int64 | 0.0% | 60976.0 – 150268390.0 (mean 44350035.7714) |
|
| 113 |
+
| `percentfunded` | float64 | 60.0% | 5.0 – 128.0 (mean 62.6429) |
|
| 114 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 115 |
+
| `esa_processed` | object | 0.0% | 2026-04-04 |
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
## Numeric Summary
|
| 120 |
+
|
| 121 |
+
| Column | Min | Max | Mean | Median |
|
| 122 |
+
|---|---|---|---|---|
|
| 123 |
+
| `id` | 365.0 | 1523.0 | 867.8667 | 931.0 |
|
| 124 |
+
| `typeid` | 4.0 | 111.0 | 32.8 | 5.0 |
|
| 125 |
+
| `year` | 2005.0 | 2027.0 | 2018.3429 | 2019.0 |
|
| 126 |
+
| `requirements` | 10676371.0 | 312740102.0 | 114052953.4286 | 110215636.5 |
|
| 127 |
+
| `funding` | 60976.0 | 150268390.0 | 44350035.7714 | 39729359.0 |
|
| 128 |
+
| `percentfunded` | 5.0 | 128.0 | 62.6429 | 61.5 |
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Curation
|
| 133 |
+
|
| 134 |
+
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.
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## Limitations
|
| 139 |
+
|
| 140 |
+
- Data originates from OCHA Financial Tracking System (FTS) and has not been independently validated by ESA.
|
| 141 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 142 |
+
- The following columns have >20% missing values and should be treated with caution in modelling: `id`, `code`, `typeid`, `typename`, `startdate`, `enddate`, `requirements`, `percentfunded`.
|
| 143 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/lby-requirements-and-funding-data) for the publisher's own methodology notes and caveats.
|
| 144 |
+
|
| 145 |
+
---
|
| 146 |
+
|
| 147 |
+
## Citation
|
| 148 |
+
|
| 149 |
+
```bibtex
|
| 150 |
+
@dataset{hdx_africa_lby_requirements_and_funding_data,
|
| 151 |
+
title = {Libya - Requirements and Funding Data},
|
| 152 |
+
author = {OCHA Financial Tracking System (FTS)},
|
| 153 |
+
year = {2026},
|
| 154 |
+
url = {https://data.humdata.org/dataset/lby-requirements-and-funding-data},
|
| 155 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 156 |
+
}
|
| 157 |
+
```
|
| 158 |
+
|
| 159 |
+
---
|
| 160 |
+
|
| 161 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|