five

electricsheepafrica/africa-world-bank-private-sector-indicators-for-somalia

收藏
Hugging Face2026-04-08 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-private-sector-indicators-for-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: - tabular-regression task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - economics - hxl - indicators - som pretty_name: "Somalia - Private Sector" dataset_info: splits: - name: train num_examples: 1540 - name: test num_examples: 385 --- # Somalia - Private Sector **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-somalia) · **License:** `cc-by` · **Updated:** 2025-08-28 --- ## Abstract Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-somalia) on HDX. Private markets drive economic growth, tapping initiative and investment to create productive jobs and raise incomes. Trade is also a driver of economic growth as it integrates developing countries into the world economy and generates benefits for their people. Data on the private sector and trade are from the World Bank Group's Private Participation in Infrastructure Project Database, Enterprise Surveys, and Doing Business Indicators, as well as from the International Monetary Fund's Balance of Payments database and International Financial Statistics, the UN Commission on Trade and Development, the World Trade Organization, and various other sources. Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2025-08-28. Geographic scope: **SOM**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Market and price monitoring | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 1,925 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 1,540 rows | | **Test split** | 385 rows | | **Geographic scope** | SOM | | **Publisher** | World Bank Group | | **HDX last updated** | 2025-08-28 | --- ## Variables **Geographic** — `country_name` (Somalia, #country+name), `country_iso3` (SOM, #country+code), `year` (range 1960.0–2024.0). **Outcome / Measurement** — `value` (range -0.0–4458000000.0). **Identifier / Metadata** — `indicator_name` (Merchandise imports by the reporting economy (current US$), Merchandise exports to low- and middle-income economies in Middle East & North Africa (% of total merchandise exports), Merchandise imports by the reporting economy, residual (% of total merchandise imports)), `indicator_code` (TM.VAL.MRCH.WL.CD, TX.VAL.MRCH.R4.ZS, TM.VAL.MRCH.RS.ZS), `esa_source` (HDX), `esa_processed` (2026-04-08). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-private-sector-indicators-for-somalia") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `country_name` | object | 0.0% | Somalia, #country+name | | `country_iso3` | object | 0.0% | SOM, #country+code | | `year` | float64 | 0.1% | 1960.0 – 2024.0 (mean 1995.5463) | | `indicator_name` | object | 0.0% | Merchandise imports by the reporting economy (current US$), Merchandise exports to low- and middle-income economies in Middle East & North Africa (% of total merchandise exports), Merchandise imports by the reporting economy, residual (% of total merchandise imports) | | `indicator_code` | object | 0.0% | TM.VAL.MRCH.WL.CD, TX.VAL.MRCH.R4.ZS, TM.VAL.MRCH.RS.ZS | | `value` | float64 | 0.1% | -0.0 – 4458000000.0 (mean 63783237.8639) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-08 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1960.0 | 2024.0 | 1995.5463 | 1997.0 | | `value` | -0.0 | 4458000000.0 | 63783237.8639 | 10.9619 | --- ## 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 World Bank Group 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/world-bank-private-sector-indicators-for-somalia) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_world_bank_private_sector_indicators_for_somalia, title = {Somalia - Private Sector}, author = {World Bank Group}, year = {2025}, url = {https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-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: 许可证:知识共享署名4.0协议(CC BY 4.0) multilinguality: 多语言属性:单语言 size_categories: 数据规模:1000 < 样本数 < 10000 source_datasets: 源数据集:原创数据集 task_categories: 任务类别:表格回归 task_ids: 任务子类别:无 tags: 标签:非洲、人道主义、HDX、Electric Sheep Africa、经济学、HXL、指标、SOM pretty_name: 展示名称:"索马里——私营部门" dataset_info: splits: - name: 训练集 num_examples: 1540 - name: 测试集 num_examples: 385 # 索马里——私营部门 **发布者:世界银行集团 · **来源:[HDX]("https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-somalia") · **许可证:`cc-by` · **更新时间:2025-08-28 --- ## 摘要 本数据集包含来自世界银行[数据门户]("http://data.worldbank.org/")的相关数据。HDX平台上还提供了[整合版国家数据集]("https://data.humdata.org/dataset/world-bank-combined-indicators-for-somalia")。 私营市场通过激发创新与投资创造生产性就业岗位、提升居民收入,是经济增长的核心驱动力。贸易同样推动经济增长:它将发展中国家融入全球经济体系,为当地民众创造福祉。本数据集的私营部门与贸易数据源自世界银行集团的《私营部门参与基础设施项目数据库》、《企业调查》与《营商环境指标数据库》,以及国际货币基金组织的国际收支数据库、国际金融统计数据库、联合国贸易和发展会议、世界贸易组织等多个来源。 本数据集的每一行均代表国家级聚合数据。该数据集在HDX平台的最后更新时间为2025-08-28。地理覆盖范围:**SOM**。 *本数据集已由[Electric Sheep Africa]("https://huggingface.co/electricsheepafrica")整理为适合机器学习的Parquet格式。 --- ## 数据集特征 | | | |---|---| | **领域** | 市场与价格监测 | | **观测单位** | 国家级聚合数据 | | **总行数** | 1925条 | | **列数** | 8列(2个数值型、6个分类型、0个日期时间型) | | **训练集拆分** | 1540条数据 | | **测试集拆分** | 385条数据 | | **地理覆盖范围** | SOM | | **发布者** | 世界银行集团 | | **HDX最后更新时间** | 2025-08-28 | --- ## 变量 **地理类字段** — `country_name`(国家名称,#country+name)、`country_iso3`(ISO3国家代码,SOM,#country+code)、`year`(年份范围:1960.0–2024.0)。 **结果/测量类字段** — `value`(数值范围:-0.0–4458000000.0)。 **标识符/元数据类字段** — `indicator_name`(指标名称:《报告经济体商品进口额(现价美元)》、《中东与北非低收入和中等收入经济体商品出口额(占商品出口总额百分比)》、《报告经济体商品进口额(剩余项,占商品进口总额百分比)》)、`indicator_code`(指标代码:TM.VAL.MRCH.WL.CD、TX.VAL.MRCH.R4.ZS、TM.VAL.MRCH.RS.ZS)、`esa_source`(数据来源:HDX)、`esa_processed`(数据处理日期:2026-04-08)。 --- ## 快速入门 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-private-sector-indicators-for-somalia") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() --- ## 数据结构 | 列名 | 数据类型 | 空值占比 | 取值范围/示例值 | |---|---|---|---| | `country_name` | 对象型 | 0.0% | 索马里,#country+name | | `country_iso3` | 对象型 | 0.0% | SOM,#country+code | | `year` | float64型 | 0.1% | 1960.0 – 2024.0(均值:1995.5463) | | `indicator_name` | 对象型 | 0.0% | 报告经济体商品进口额(现价美元)、中东与北非低收入和中等收入经济体商品出口额(占商品出口总额百分比)、报告经济体商品进口额(剩余项,占商品进口总额百分比) | | `indicator_code` | 对象型 | 0.0% | TM.VAL.MRCH.WL.CD、TX.VAL.MRCH.R4.ZS、TM.VAL.MRCH.RS.ZS | | `value` | float64型 | 0.1% | -0.0 – 4458000000.0(均值:63783237.8639) | | `esa_source` | 对象型 | 0.0% | HDX | | `esa_processed` | 对象型 | 0.0% | 2026-04-08 | --- ## 数值型字段统计摘要 | 列名 | 最小值 | 最大值 | 均值 | 中位数 | |---|---|---|---|---| | `year` | 1960.0 | 2024.0 | 1995.5463 | 1997.0 | | `value` | -0.0 | 4458000000.0 | 63783237.8639 | 10.9619 | --- ## 数据整理流程 原始数据通过CKAN API从HDX平台下载,并转换为Parquet格式。列名统一转换为小写并标准化为蛇形命名法。将常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)统一替换为`NaN`。根据解析成功率(阈值>85%)将2列从字符串类型转换为数值型或日期时间型。本数据集以固定随机种子(42)按80/20比例划分为训练集与测试集,并保存为Snappy压缩的Parquet格式文件。 --- ## 数据集局限性 - 本数据集源自世界银行集团,未由Electric Sheep Africa(ESA)进行独立验证。 - 自动化清洗流程无法修正原始数据采集阶段的错报、定义不一致或抽样偏差问题。 - 请参阅[原始HDX数据集页面]("https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-somalia")以获取发布方提供的方法说明与注意事项。 --- ## 引用 bibtex @dataset{hdx_africa_world_bank_private_sector_indicators_for_somalia, title = {Somalia - Private Sector}, author = {World Bank Group}, year = {2025}, url = {"https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-somalia"}, note = {Repackaged for machine learning by Electric Sheep Africa ("https://huggingface.co/electricsheepafrica")} } --- *[Electric Sheep Africa]("https://huggingface.co/electricsheepafrica") — 非洲的机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica
二维码
社区交流群
二维码
科研交流群
商业服务