freight-rail-data-pipeline
收藏资源简介:
该数据集是货运铁路数据管道的快照,涵盖了美国铁路货运量、铁路服务指标以及海洋集装箱运价数据。数据来源包括美国农业部农业运输(USDA AgTransport)和Freightos FBX等公共API,遵循CC BY 4.0许可。数据集包含10个表格,总计约5147万行记录,总大小约1251.7 MB。具体表格包括:每周铁路交通量、货运指标、汽车承运人普查、铁路装载量、欧洲铁路货运、铁路安全事件、铁路服务指标、铁路运价、跨境货运和运单发货。该数据集适用于物流、供应链分析、铁路运输研究、货运经济学等任务。
This dataset is a snapshot of the freight rail data pipeline, covering U.S. rail freight volumes, rail service metrics, and ocean container freight rate data. Data sources include public APIs such as USDA AgTransport and Freightos FBX, licensed under CC BY 4.0. The dataset contains 10 tables with approximately 51.47 million rows and a total size of about 1251.7 MB. Specific tables include: weekly rail traffic, freight indicators, motor carrier census, rail carloadings, Eurostat rail freight, rail safety incidents, rail service metrics, rail tariff rates, transborder freight, and waybill shipments. This dataset is suitable for tasks such as logistics, supply chain analysis, rail transportation research, and freight economics.
数据集概述:Freight Rail Data Pipeline — Snapshot
基本信息
- 语言:英语(en)
- 标签:货运、铁路、航运、物流、供应链、管线
- 大小类别:小于 1MB(注:实际构建信息显示总大小为 1251.7 MB)
- 许可证:CC BY 4.0
数据内容
该数据集包含铁路车辆装载量、铁路服务指标和海运集装箱运费率数据,共由 10 个数据表组成,总行数为 51,468,850 行。
数据表详情
| 数据表 | 行数 | 描述 |
|---|---|---|
| aar_weekly_traffic | 52 | 美国铁路协会周度交通数据 |
| freight_indicators | 25,632 | 货运指标 |
| motor_carrier_census | 2,085,534 | 汽车承运人普查数据 |
| rail_carloadings | 199,286 | 铁路车辆装载量 |
| rail_eurostat_freight | 1,329 | 欧盟统计局铁路货运数据 |
| rail_safety_incidents | 476,074 | 铁路安全事件 |
| rail_service_metrics | 1,553,679 | 铁路服务指标 |
| rail_tariff_rates | 6,802 | 铁路运价费率 |
| transborder_freight | 27,015,354 | 跨境货运数据 |
| waybill_shipments | 20,105,108 | 运单发货数据 |
数据来源
数据来源于公共 API,具体包括:
- USDA AgTransport(美国农业部农业交通相关接口)
- Freightos FBX(货运价格指数数据)
使用方法
方法一:使用 Hugging Face datasets 库
python from datasets import load_dataset
ds = load_dataset("ZanderL1337/freight-rail-data-pipeline", trust_remote_code=True) df = ds["aar_weekly_traffic"].to_pandas()
方法二:直接读取 Parquet 文件
python import pandas as pd
df = pd.read_parquet("path/to/parquet/file.parquet")
构建信息
- 生成日期:2026-08-14
- 管线名称:freight-rail-data-pipeline(GitHub 地址:https://github.com/Zanderl1987/freight-rail-data-pipeline)
- 数据表数量:10 个
- 总行数:51,468,850
- 总大小:1251.7 MB




