electricsheepafrica/africa-cash-based-programming-in-somalia
收藏资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - 1K<n<10K source_datasets: - original task_categories: - other task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - cash-voucher-assistance-cva - food-security - hxl - who-is-doing-what-and-where-3w-4w-5w - som pretty_name: "Cash Based Programming in Somalia" dataset_info: splits: - name: train num_examples: 5558 - name: test num_examples: 1389 --- # Cash Based Programming in Somalia **Publisher:** OCHA Somalia · **Source:** [HDX](https://data.humdata.org/dataset/cash-based-programming-in-somalia) · **License:** `cc-by` · **Updated:** 2026-04-03 --- ## Abstract Cash Based Programming in Somalia. Data are aggregated at admin level 2 Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-04-03. Geographic scope: **SOM**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Food security and nutrition | | **Unit of observation** | First-level administrative unit observations | | **Rows (total)** | 6,948 | | **Columns** | 10 (2 numeric, 8 categorical, 0 datetime) | | **Train split** | 5,558 rows | | **Test split** | 1,389 rows | | **Geographic scope** | SOM | | **Publisher** | OCHA Somalia | | **HDX last updated** | 2026-04-03 | --- ## Variables **Geographic** — `region` (Sanaag, Bari, Lower Juba), `conditionality` (Unconditional, Unspecified, Conditional), `delivery_mechanism` (Voucher - e-Voucher, Cash - mobile money, Cash - mobile). **Temporal** — `month` (September, July, August). **Demographic** — `total_of_individuals` (range 0.0–47202.0). **Outcome / Measurement** — `total_transfers_usd` (range 0.0–335520.0). **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04). **Other** — `cluster` (FSC, Food Security, Safety Nets), `restriction` (Unrestricted, Restricted, #indicator+restriction). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-cash-based-programming-in-somalia") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `month` | object | 0.0% | September, July, August | | `region` | object | 0.0% | Sanaag, Bari, Lower Juba | | `cluster` | object | 0.0% | FSC, Food Security, Safety Nets | | `conditionality` | object | 0.0% | Unconditional, Unspecified, Conditional | | `delivery_mechanism` | object | 0.0% | Voucher - e-Voucher, Cash - mobile money, Cash - mobile | | `restriction` | object | 0.0% | Unrestricted, Restricted, #indicator+restriction | | `total_of_individuals` | float64 | 0.0% | 0.0 – 47202.0 (mean 820.57) | | `total_transfers_usd` | float64 | 0.0% | 0.0 – 335520.0 (mean 9291.1696) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-04 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `total_of_individuals` | 0.0 | 47202.0 | 820.57 | 348.0 | | `total_transfers_usd` | 0.0 | 335520.0 | 9291.1696 | 3920.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`. 1 exact duplicate rows were removed. 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 OCHA Somalia 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](https://data.humdata.org/dataset/cash-based-programming-in-somalia) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_cash_based_programming_in_somalia, title = {Cash Based Programming in Somalia}, author = {OCHA Somalia}, year = {2026}, url = {https://data.humdata.org/dataset/cash-based-programming-in-somalia}, 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.*
annotations_creators: - 无注释 language_creators: - 爬取获取 language: - 英语 license: CC-BY-4.0 multilinguality: - 单语言 size_categories: - 1000 < 样本数 < 10000 source_datasets: - 原始数据集 task_categories: - 其他 task_ids: - 无 tags: - 非洲 - 人道主义 - 人道主义数据交换(Humanitarian Data Exchange, HDX) - Electric Sheep Africa - 现金券援助(Cash Voucher Assistance, CVA) - 粮食安全 - HXL - 谁在何处开展何事(3W/4W/5W) - 索马里(SOM) pretty_name: "索马里现金援助计划" dataset_info: splits: - name: 训练集 num_examples: 5558 - name: 测试集 num_examples: 1389 # 索马里现金援助计划 **发布方:** 人道主义事务协调厅索马里办事处(OCHA Somalia) · **来源:** [人道主义数据交换(Humanitarian Data Exchange, HDX)](https://data.humdata.org/dataset/cash-based-programming-in-somalia) · **许可证:** `cc-by` · **更新时间:** 2026-04-03 --- ## 摘要 本数据集为索马里现金援助计划相关数据,数据按二级行政单元(Administrative Level 2)聚合。数据集中每一行代表一级行政单元的观测值。本数据集最后一次在HDX平台更新的时间为2026年4月3日。地理覆盖范围:**索马里(SOM)**。 *本数据集已由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适用于机器学习的Parquet格式。* --- ## 数据集特征 | | | |---|---| | **领域** | 粮食安全与营养 | | **观测单元** | 一级行政单元观测值 | | **总行数** | 6948 | | **列数** | 10(2个数值型,8个分类型,0个日期型) | | **训练集划分** | 5558行 | | **测试集划分** | 1389行 | | **地理覆盖范围** | 索马里(SOM) | | **发布方** | OCHA索马里办事处 | | **HDX平台最后更新时间** | 2026年4月3日 | --- ## 变量说明 **地理类变量** — `region`(地区:萨纳格、巴里、下朱巴)、`conditionality`(条件属性:无条件、未指定、有条件)、`delivery_mechanism`(交付机制:电子券 - 电子券、现金 - 移动货币、现金 - 移动支付)。 **时间类变量** — `month`(月份:9月、7月、8月)。 **人口统计类变量** — `total_of_individuals`(受益人数范围:0.0–47202.0)。 **结果/测量类变量** — `total_transfers_usd`(总转移支付金额(美元)范围:0.0–335520.0)。 **标识符/元数据类变量** — `esa_source`(数据来源:HDX)、`esa_processed`(数据处理时间:2026-04-04)。 **其他类变量** — `cluster`(聚类标签:FSC、粮食安全、安全网)、`restriction`(限制属性:无限制、有限制、#indicator+restriction)。 --- ## 快速上手 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-cash-based-programming-in-somalia") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() --- ## 数据结构 | 列名 | 数据类型 | 空值占比 | 取值范围/示例值 | |---|---|---|---| | `month` | 字符串型 | 0.0% | 9月、7月、8月 | | `region` | 字符串型 | 0.0% | 萨纳格、巴里、下朱巴 | | `cluster` | 字符串型 | 0.0% | FSC、粮食安全、安全网 | | `conditionality` | 字符串型 | 0.0% | 无条件、未指定、有条件 | | `delivery_mechanism` | 字符串型 | 0.0% | 电子券 - 电子券、现金 - 移动货币、现金 - 移动支付 | | `restriction` | 字符串型 | 0.0% | 无限制、有限制、#indicator+restriction | | `total_of_individuals` | 浮点型 | 0.0% | 0.0 – 47202.0(均值 820.57) | | `total_transfers_usd` | 浮点型 | 0.0% | 0.0 – 335520.0(均值 9291.1696) | | `esa_source` | 字符串型 | 0.0% | HDX | | `esa_processed` | 字符串型 | 0.0% | 2026-04-04 | --- ## 数值型变量统计摘要 | 列名 | 最小值 | 最大值 | 均值 | 中位数 | |---|---|---|---|---| | `total_of_individuals` | 0.0 | 47202.0 | 820.57 | 348.0 | | `total_transfers_usd` | 0.0 | 335520.0 | 9291.1696 | 3920.0 | --- ## 数据整理流程 原始数据通过CKAN应用程序编程接口(CKAN API)从HDX平台下载,并转换为Parquet格式。对列名进行小写转换并统一为蛇形命名法。将常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)统一替换为`NaN`。移除了1条完全重复的行。基于解析成功率(阈值>85%)将2列从字符串类型转换为数值型或日期型。采用固定随机种子(42)将数据集按80/20比例划分为训练集与测试集,并以Snappy压缩格式保存为Parquet文件。 --- ## 局限性说明 - 本数据源自OCHA索马里办事处,未经过Electric Sheep Africa的独立验证。 - 自动化清洗流程无法修正原始数据收集中的错报值、定义不一致或抽样偏差问题。 - 请参阅[原始HDX数据集页面](https://data.humdata.org/dataset/cash-based-programming-in-somalia)获取发布方提供的方法说明与免责条款。 --- ## 引用格式 bibtex @dataset{hdx_africa_cash_based_programming_in_somalia, title = {Cash Based Programming in Somalia}, author = {OCHA Somalia}, year = {2026}, url = {https://data.humdata.org/dataset/cash-based-programming-in-somalia}, note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)} } --- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施服务商。尼日利亚拉各斯。*



