electricsheepafrica/africa-world-bank-public-sector-indicators-for-eswatini
收藏资源简介:
--- 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-classification task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - economics - indicators - swz pretty_name: "Eswatini - Public Sector" dataset_info: splits: - name: train num_examples: 1744 - name: test num_examples: 436 --- # Eswatini - Public Sector **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-eswatini) · **License:** `cc-by` · **Updated:** 2026-03-27 --- ## 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-eswatini) on HDX. Effective governments improve people's standard of living by ensuring access to essential services – health, education, water and sanitation, electricity, transport – and the opportunity to live and work in peace and security. Data here includes World Bank staff assessments of country performance in economic management, structural policies, policies for social inclusion and equity, and public sector management and institutions for the poorest countries. Also included are indicators on revenues and expenses from the International Monetary Fund's Government Finance Statistics, and on tax policies from various sources. Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **SWZ**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Public health | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 2,181 | | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) | | **Train split** | 1,744 rows | | **Test split** | 436 rows | | **Geographic scope** | SWZ | | **Publisher** | World Bank Group | | **HDX last updated** | 2026-03-27 | --- ## Variables **Geographic** — `country_name` (Eswatini), `country_iso3` (SWZ), `year` (range 1977.0–2024.0). **Outcome / Measurement** — `value` (range -4856337980.0–26122100000.0). **Identifier / Metadata** — `indicator_name` (Military expenditure (current LCU), Military expenditure (% of GDP), Military expenditure (current USD)), `indicator_code` (MS.MIL.XPND.CN, MS.MIL.XPND.GD.ZS, MS.MIL.XPND.CD), `esa_source` (HDX), `esa_processed` (2026-04-10). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-public-sector-indicators-for-eswatini") 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% | Eswatini | | `country_iso3` | object | 0.0% | SWZ | | `year` | int64 | 0.0% | 1977.0 – 2024.0 (mean 2009.9743) | | `indicator_name` | object | 0.0% | Military expenditure (current LCU), Military expenditure (% of GDP), Military expenditure (current USD) | | `indicator_code` | object | 0.0% | MS.MIL.XPND.CN, MS.MIL.XPND.GD.ZS, MS.MIL.XPND.CD | | `value` | float64 | 0.0% | -4856337980.0 – 26122100000.0 (mean 591530690.794) | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-10 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `year` | 1977.0 | 2024.0 | 2009.9743 | 2010.0 | | `value` | -4856337980.0 | 26122100000.0 | 591530690.794 | 20.8592 | --- ## 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`. 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-public-sector-indicators-for-eswatini) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_world_bank_public_sector_indicators_for_eswatini, title = {Eswatini - Public Sector}, author = {World Bank Group}, year = {2026}, url = {https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-eswatini}, 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: - 非洲 - 人道主义 - HDX(人道主义数据交换,Humanitarian Data Exchange) - Electric Sheep Africa - 经济学 - 指标 - SWZ(埃斯瓦蒂尼ISO 3166-1 alpha-3国家代码) pretty_name: "埃斯瓦蒂尼——公共部门" dataset_info: splits: - name: 训练集 num_examples: 1744 - name: 测试集 num_examples: 436 --- # 埃斯瓦蒂尼——公共部门 **发布方:** 世界银行集团 · **数据来源:** [HDX(人道主义数据交换,Humanitarian Data Exchange)](https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-eswatini) · **许可证:** `CC-BY-4.0` · **最后更新:** 2026-03-27 --- ## 摘要 本数据集包含来自世界银行[数据门户](http://data.worldbank.org/)的相关数据,同时HDX平台上还存在一份整合型国家数据集[整合国家数据集](https://data.humdata.org/dataset/world-bank-combined-indicators-for-eswatini)。 高效的政府可通过保障民众获得基本服务——医疗、教育、水与卫生设施(sanitation)、电力、交通——以及在和平与安全的环境中生活和工作的机会,来提升民众的生活水平。本数据集收录了世界银行工作人员针对最贫困国家在经济管理、结构性政策、社会包容与公平政策、公共部门管理与制度建设方面的国家表现评估数据,同时还包含来自国际货币基金组织政府财政统计的收支指标,以及多渠道来源的税收政策相关数据。 本数据集的每一行均代表国家级聚合数据。数据最新更新时间为2026年3月27日,地理覆盖范围为**SWZ**。 *本数据集已由[Electric Sheep Africa](https://huggingface.co/electricsheepafrica)整理为适配机器学习的Parquet格式(Parquet)。* --- ## 数据集特征 | 项 | 详情 | |---|---| | **研究领域** | 公共卫生 | | **观测单位** | 国家级聚合数据 | | **总数据行数** | 2181 | | **列数** | 8(2个数值型,6个分类型,0个日期时间型) | | **训练集行数** | 1744 | | **测试集行数** | 436 | | **地理覆盖范围** | SWZ | | **发布方** | 世界银行集团 | | **HDX最后更新时间** | 2026-03-27 | --- ## 变量说明 ### 地理类变量 `country_name`(国家名称:埃斯瓦蒂尼)、`country_iso3`(国家ISO3代码:SWZ)、`year`(年份范围:1977.0–2024.0)。 ### 结果/测量类变量 `value`(数值范围:-4856337980.0–26122100000.0)。 ### 标识符/元数据类变量 `indicator_name`(指标名称:当前本地货币单位(Local Currency Unit,LCU)计价军费支出、军费支出占GDP比重、当前美元计价军费支出)、`indicator_code`(指标代码:MS.MIL.XPND.CN、MS.MIL.XPND.GD.ZS、MS.MIL.XPND.CD)、`esa_source`(数据来源:HDX)、`esa_processed`(数据处理日期:2026-04-10)。 --- ## 快速上手 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-world-bank-public-sector-indicators-for-eswatini") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() --- ## 数据结构 | 列名 | 数据类型 | 空值占比 | 取值范围/示例值 | |---|---|---|---| | `country_name` | 字符型(object) | 0.0% | 埃斯瓦蒂尼 | | `country_iso3` | 字符型(object) | 0.0% | SWZ | | `year` | 整型(int64) | 0.0% | 1977.0 – 2024.0(均值:2009.9743) | | `indicator_name` | 字符型(object) | 0.0% | 当前本地货币单位计价军费支出、军费支出占GDP比重、当前美元计价军费支出 | | `indicator_code` | 字符型(object) | 0.0% | MS.MIL.XPND.CN、MS.MIL.XPND.GD.ZS、MS.MIL.XPND.CD | | `value` | 浮点型(float64) | 0.0% | -4856337980.0 – 26122100000.0(均值:591530690.794) | | `esa_source` | 字符型(object) | 0.0% | HDX | | `esa_processed` | 字符型(object) | 0.0% | 2026-04-10 | --- ## 数值型变量统计摘要 | 列名 | 最小值 | 最大值 | 均值 | 中位数 | |---|---|---|---|---| | `year` | 1977.0 | 2024.0 | 2009.9743 | 2010.0 | | `value` | -4856337980.0 | 26122100000.0 | 591530690.794 | 20.8592 | --- ## 数据整理流程 原始数据通过CKAN API(CKAN API)从HDX平台下载,并转换为Parquet格式。列名已统一转换为小写并标准化为蛇形命名法(snake_case)。常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)已统一替换为`NaN`。本数据集以80/20的比例划分为训练集与测试集,使用固定随机种子(42)进行拆分,并保存为Snappy压缩格式的Parquet文件。 --- ## 数据集局限性 1. 数据源自世界银行集团,未经Electric Sheep Africa独立验证。 2. 自动化清洗流程无法修正原始数据收集阶段的错报值、定义不一致性或抽样偏差问题。 3. 如需了解发布方的方法论说明与注意事项,请参阅[原始HDX数据集页面](https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-eswatini)。 --- ## 引用格式 bibtex @dataset{hdx_africa_world_bank_public_sector_indicators_for_eswatini, title = {埃斯瓦蒂尼——公共部门}, author = {世界银行集团}, year = {2026}, url = {https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-eswatini}, note = {由Electric Sheep Africa(https://huggingface.co/electricsheepafrica)重新打包适配机器学习需求} } --- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — 非洲机器学习数据集基础设施。尼日利亚拉各斯。*




