five

electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-somalia

收藏
Hugging Face2026-04-08 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-world-bank-energy-and-mining-indicators-for-somalia
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-4.0 multilinguality: - monolingual size_categories: - n<1K source_datasets: - original task_categories: - tabular-regression task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - development - energy - hxl - indicators - som pretty_name: "Somalia - Energy and Mining" dataset_info: splits: - name: train num_examples: 516 - name: test num_examples: 129 --- # Somalia - Energy and Mining **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-energy-and-mining-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. The world economy needs ever-increasing amounts of energy to sustain economic growth, raise living standards, and reduce poverty. But today's trends in energy use are not sustainable. As the world's population grows and economies become more industrialized, nonrenewable energy sources will become scarcer and more costly. Data here on energy production, use, dependency, and efficiency are compiled by the World Bank from the International Energy Agency and the Carbon Dioxide Information Analysis Center. 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** | Demographics and population | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 646 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 516 rows | | **Test split** | 129 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 1962.0–2023.0). **Outcome / Measurement** — `value` (range 0.0–42940000.0). **Identifier / Metadata** — `indicator_name` (Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Renewable energy consumption (% of total final energy consumption)), `indicator_code` (NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, EG.FEC.RNEW.ZS), `esa_source` (HDX), `esa_processed` (2026-04-08). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-energy-and-mining-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.2% | 1962.0 – 2023.0 (mean 2001.2202) | | `indicator_name` | object | 0.0% | Adjusted savings: mineral depletion (current US$), Adjusted savings: energy depletion (current US$), Renewable energy consumption (% of total final energy consumption) | | `indicator_code` | object | 0.0% | NY.ADJ.DMIN.CD, NY.ADJ.DNGY.CD, EG.FEC.RNEW.ZS | | `value` | float64 | 0.2% | 0.0 – 42940000.0 (mean 247520.9607) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-08 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1962.0 | 2023.0 | 2001.2202 | 2006.0 | | `value` | 0.0 | 42940000.0 | 247520.9607 | 0.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 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-energy-and-mining-indicators-for-somalia) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_world_bank_energy_and_mining_indicators_for_somalia, title = {Somalia - Energy and Mining}, author = {World Bank Group}, year = {2025}, url = {https://data.humdata.org/dataset/world-bank-energy-and-mining-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.*

注释创建者: - 无注释 语言生成方式: - 采集所得 语言: - 英语 许可协议:CC-BY-4.0 多语言属性: - 单语言 规模类别: - 样本数少于1000 源数据集: - 原创数据集 任务类别: - 表格回归 任务子类别: - 无 标签: - 非洲 - 人道主义 - HDX - Electric Sheep Africa - 发展 - 能源 - HXL - 指标 - SOM 美观名称:"索马里——能源与矿业" 数据集信息: 数据集划分: - 名称:train(训练集),样本数:516 - 名称:test(测试集),样本数:129 # 索马里——能源与矿业 **发布方**:世界银行集团 · **数据来源**:[HDX](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-somalia) · **许可协议**:`CC-BY` · **最后更新时间**:2025-08-28 --- ## 摘要 本数据集包含来自世界银行[数据门户](http://data.worldbank.org/)的相关数据,HDX平台上另有一份[索马里综合国家数据集](https://data.humdata.org/dataset/world-bank-combined-indicators-for-somalia)。 全球经济为维持增长、提升生活水平并减少贫困,需要持续增长的能源供给。但当前的能源使用趋势并不具备可持续性。随着全球人口增长与经济体工业化程度加深,不可再生能源将愈发稀缺且成本高企。本数据集收录的能源生产、使用、依赖度与效率相关数据,由世界银行整合自国际能源署(International Energy Agency)与二氧化碳信息分析中心(Carbon Dioxide Information Analysis Center)。 本数据集每条记录均代表国家级汇总数据。数据最后于HDX平台更新于2025-08-28,地理覆盖范围:**SOM(索马里)**。 *本数据集已由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适配机器学习的Parquet格式。* --- ## 数据集特征 | | | |---|---| | **所属领域** | 人口与人口统计学 | | **观测单元** | 国家级汇总数据 | | **总记录数** | 646 | | **字段数** | 8个(2个数值型、6个分类型、0个日期时间型) | | **训练集划分** | 516条记录 | | **测试集划分** | 129条记录 | | **地理覆盖范围** | SOM(索马里) | | **发布方** | 世界银行集团 | | **HDX最后更新时间** | 2025-08-28 | --- ## 变量说明 **地理类变量** — `country_name`(索马里,#country+name)、`country_iso3`(SOM(索马里国家代码),#country+code)、`year`(取值范围:1962.0–2023.0)。 **结果/测量类变量** — `value`(取值范围:0.0–42940000.0)。 **标识/元数据类变量** — `indicator_name`(调整后储蓄:矿产消耗(当前美元价)、调整后储蓄:能源消耗(当前美元价)、可再生能源消费(占最终能源消费总量的百分比))、`indicator_code`(NY.ADJ.DMIN.CD、NY.ADJ.DNGY.CD、EG.FEC.RNEW.ZS)、`esa_source`(HDX)、`esa_processed`(2026-04-08)。 --- ## 快速上手 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-energy-and-mining-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` | 浮点型 | 0.2% | 1962.0 – 2023.0(均值:2001.2202) | | `indicator_name` | 字符型 | 0.0% | 调整后储蓄:矿产消耗(当前美元价)、调整后储蓄:能源消耗(当前美元价)、可再生能源消费(占最终能源消费总量的百分比) | | `indicator_code` | 字符型 | 0.0% | NY.ADJ.DMIN.CD、NY.ADJ.DNGY.CD、EG.FEC.RNEW.ZS | | `value` | 浮点型 | 0.2% | 0.0 – 42940000.0(均值:247520.9607) | | `esa_source` | 字符型 | 0.0% | HDX | | `esa_processed` | 字符型 | 0.0% | 2026-04-08 | --- ## 数值型变量统计摘要 | 字段名 | 最小值 | 最大值 | 均值 | 中位数 | |---|---|---|---|---| | `year` | 1962.0 | 2023.0 | 2001.2202 | 2006.0 | | `value` | 0.0 | 42940000.0 | 247520.9607 | 0.0 | --- ## 数据整理流程 原始数据通过CKAN API从HDX平台下载并转换为Parquet格式。字段名均转为小写并统一为蛇形命名法(snake_case)。常见缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)被统一替换为`NaN`。基于解析成功率(阈值>85%),将2个字段从字符型转换为数值型或日期时间型。本数据集以80/20的比例划分为训练集与测试集,使用固定随机种子(42)进行划分,并以Snappy压缩格式保存为Parquet文件。 --- ## 数据集局限性 - 本数据集原始数据来源于世界银行集团,未由Electric Sheep Africa(ESA)进行独立验证。 - 自动化数据清洗无法修正原始数据收集中的错报值、定义不一致或抽样偏差问题。 - 如需查看发布方提供的方法说明与注意事项,请参阅[HDX平台原始数据集页面](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-somalia)。 --- ## 引用格式 bibtex @dataset{hdx_africa_world_bank_energy_and_mining_indicators_for_somalia, title = {Somalia - Energy and Mining}, author = {World Bank Group}, year = {2025}, url = {https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-somalia}, note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)} } --- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施,尼日利亚拉各斯。*
提供机构:
electricsheepafrica
二维码
社区交流群
二维码
科研交流群
商业服务