monthly-merged-africa-logistics-2026-07
收藏资源简介:
该数据集为自动合并的非洲物流月度数据集,报告月份为2026年7月,共包含162条记录。数据来源于南非和埃及两个国家的月度物流数据,分别来自 Hugging Face 上的数据集仓库 toolathon123/sa-logistics-monthly 和 toolathon123/egypt-logistics-monthly。原始数据中南非使用公里和升作为单位,日期格式为YYYY-MM-DD;埃及使用英里和加仑作为单位,日期格式为DD/MM/YYYY。经过统一转换,数据集中的距离字段统一为公里(distance_km),燃料消耗字段统一为升(fuel_consumption_liters),日期字段统一为YYYY-MM-DD格式(埃及数据通过1英里=1.609344公里、1美制加仑=3.785411784升进行转换)。同时添加了source_country字段以标记数据来源国家(South Africa 或 Egypt)。数据集仅保留2026年7月整月(按出发日期筛选)的记录,并通过完整的行去重以及基于shipment_id和source_country的组合去重,确保数据质量。该数据集可用于非洲物流分析、跨国家运输比较、月度燃料消耗与距离关系研究等任务。
This dataset is an automatically merged African logistics monthly dataset, reporting month is July 2026, containing 162 records. The data comes from monthly logistics data of South Africa and Egypt, sourced from Hugging Face dataset repositories toolathon123/sa-logistics-monthly and toolathon123/egypt-logistics-monthly. In the original data, South Africa uses kilometers and liters as units, date format YYYY-MM-DD; Egypt uses miles and gallons as units, date format DD/MM/YYYY. After unified conversion, the distance field is unified to kilometers (distance_km), fuel consumption field is unified to liters (fuel_consumption_liters), and the date field is unified to YYYY-MM-DD format (Egypt data converted using 1 mile = 1.609344 km, 1 US gallon = 3.785411784 liters). A source_country field is added to mark the data source country (South Africa or Egypt). The dataset only retains records for the full month of July 2026 (filtered by departure date), and ensures data quality through complete row deduplication and combined deduplication based on shipment_id and source_country. This dataset can be used for tasks such as African logistics analysis, cross-country transportation comparison, and monthly fuel consumption vs distance relationship research.
数据集概述
基本信息
- 数据集名称: toolathon123/monthly-merged-africa-logistics-2026-07
- 语言: 英语
- 许可证: MIT
- 标签: logistics, africa, monthly-merge, south-africa, egypt
- 数据规模: 少于1K条记录
- 报告月份: 2026-07
- 数据行数: 162行
- 构建时间: 2026-08-13 14:47 UTC
数据来源
该数据集由两个Hugging Face Hub上的子数据集合并而成:
| 来源国家 | 源数据集仓库 | 输入单位 | 输入日期格式 |
|---|---|---|---|
| 南非 | toolathon123/sa-logistics-monthly | 公里/升 | YYYY-MM-DD |
| 埃及 | toolathon123/egypt-logistics-monthly | 英里/加仑 | DD/MM/YYYY |
数据转换流程
- 使用
load_dataset加载两个远程数据集。 - 统一数据结构:转换为
distance_km(距离,公里)、fuel_consumption_liters(燃油消耗,升)和YYYY-MM-DD日期格式(埃及数据按1英里=1.609344公里、1美制加仑=3.785411784升进行换算)。 - 添加
source_country字段(值为South Africa或Egypt)以保留数据来源信息。 - 按出发日期筛选出2026年7月的完整日历月份数据。
- 使用
concatenate_datasets进行合并。 - 删除关键字段缺失的行,并去除重复项(先按整行去重,再按
shipment_id+source_country去重)。
版本管理
该数据集在Hugging Face Hub上通过Git进行版本控制,每次执行都会在main分支上创建新提交,并添加可复现性标签:
| 标签 | 含义 |
|---|---|
monthly-2026-07 |
该数据集覆盖的报告月份 |
run-<timestamp> |
特定管道执行记录(可通过revision参数复现) |
复现方式
- 精确复现:
load_dataset("toolathon123/monthly-merged-africa-logistics-2026-07", revision="ecf19c100dbd6385cb0d9f48d71c03d6d1ae92c9") - 列出所有标签:
HfApi().list_repo_refs("toolathon123/monthly-merged-africa-logistics-2026-07").tags




