five

electricsheepafrica/africa-ourairports-tza

收藏
Hugging Face2026-04-06 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-ourairports-tza
下载链接
链接失效反馈
官方服务:
资源简介:
--- 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: - other task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - aviation - facilities-infrastructure - geodata - hxl - transportation - tza pretty_name: "Airports in Tanzania" dataset_info: splits: - name: train num_examples: 169 - name: test num_examples: 42 --- # Airports in Tanzania **Publisher:** OurAirports · **Source:** [HDX](https://data.humdata.org/dataset/ourairports-tza) · **License:** `cc-by-igo` · **Updated:** 2026-02-23 --- ## Abstract List of airports in Tanzania, with latitude and longitude. Unverified community data from http://ourairports.com/countries/TZ/ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-02-23. Geographic scope: **TZA**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Humanitarian and development data | | **Unit of observation** | First-level administrative unit observations | | **Rows (total)** | 212 | | **Columns** | 21 (7 numeric, 13 categorical, 0 datetime) | | **Train split** | 169 rows | | **Test split** | 42 rows | | **Geographic scope** | TZA | | **Publisher** | OurAirports | | **HDX last updated** | 2026-02-23 | --- ## Variables **Geographic** — `type` (small_airport, medium_airport, closed), `latitude_deg` (range -11.6123–-1.075), `longitude_deg` (range 29.6709–40.182), `country_name` (Tanzania, #country +name), `iso_country` (TZ, #country +code +iso2) and 4 others. **Temporal** — `last_updated`. **Outcome / Measurement** — `score` (range 0.0–1050.0). **Identifier / Metadata** — `id` (range 3250.0–604206.0), `ident` (#meta +code, HTMK, TZ-0042), `name` (#loc +airport +name, Mikumi Airport, Mkangira Airport), `gps_code` (#loc +airport +code +gps, HTMH, HTMP), `esa_source` and 1 others. **Other** — `elevation_ft` (range 15.0–7795.0), `continent` (AF, #region +continent +code), `scheduled_service` (range 0.0–1.0), `wikipedia_link`. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ourairports-tza") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `id` | float64 | 0.5% | 3250.0 – 604206.0 (mean 237534.8199) | | `ident` | object | 0.0% | #meta +code, HTMK, TZ-0042 | | `type` | object | 0.0% | small_airport, medium_airport, closed | | `name` | object | 0.0% | #loc +airport +name, Mikumi Airport, Mkangira Airport | | `latitude_deg` | float64 | 0.5% | -11.6123 – -1.075 (mean -5.8509) | | `longitude_deg` | float64 | 0.5% | 29.6709 – 40.182 (mean 35.0959) | | `elevation_ft` | float64 | 19.8% | 15.0 – 7795.0 (mean 3311.9941) | | `continent` | object | 0.0% | AF, #region +continent +code | | `country_name` | object | 0.0% | Tanzania, #country +name | | `iso_country` | object | 0.0% | TZ, #country +code +iso2 | | `region_name` | object | 0.0% | Morogoro Region, Rukwa Region, Singida Region | | `iso_region` | object | 0.0% | TZ-16, TZ-20, TZ-23 | | `local_region` | float64 | 0.5% | 1.0 – 31.0 (mean 14.8483) | | `municipality` | object | 6.6% | Chunya, Rungwa, Ifakara | | `scheduled_service` | float64 | 0.5% | 0.0 – 1.0 (mean 0.0758) | | `gps_code` | object | 59.4% | #loc +airport +code +gps, HTMH, HTMP | | `wikipedia_link` | object | 78.8% | | | `score` | float64 | 0.5% | 0.0 – 1050.0 (mean 87.4408) | | `last_updated` | datetime64[ns, UTC] | 0.5% | | | `esa_source` | object | 0.0% | | | `esa_processed` | object | 0.0% | | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `id` | 3250.0 | 604206.0 | 237534.8199 | 318606.0 | | `latitude_deg` | -11.6123 | -1.075 | -5.8509 | -6.1356 | | `longitude_deg` | 29.6709 | 40.182 | 35.0959 | 35.1591 | | `elevation_ft` | 15.0 | 7795.0 | 3311.9941 | 3786.5 | | `local_region` | 1.0 | 31.0 | 14.8483 | 16.0 | | `scheduled_service` | 0.0 | 1.0 | 0.0758 | 0.0 | | `score` | 0.0 | 1050.0 | 87.4408 | 50.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`. 5 column(s) with >80% missing values were removed: `icao_code`, `iata_code`, `local_code`, `home_link`, `keywords`. 8 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 OurAirports and has not been independently validated by ESA. - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection. - The following columns have >20% missing values and should be treated with caution in modelling: `gps_code`, `wikipedia_link`. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/ourairports-tza) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_ourairports_tza, title = {Airports in Tanzania}, author = {OurAirports}, year = {2026}, url = {https://data.humdata.org/dataset/ourairports-tza}, 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 source_datasets: - 原始数据集 task_categories: - 其他 task_ids: [] tags: - 非洲 - 人道主义 - HDX - Electric Sheep Africa - 航空 - 设施与基础设施 - 地理数据 - HXL - 交通 - 坦桑尼亚(TZA) pretty_name: "坦桑尼亚境内机场" dataset_info: splits: - name: 训练集 num_examples: 169 - name: 测试集 num_examples: 42 # 坦桑尼亚境内机场 **发布方:** OurAirports · **数据源:** [HDX]("https://data.humdata.org/dataset/ourairports-tza") · **许可证:** `cc-by-igo` · **更新时间:** 2026-02-23 --- ## 摘要 本数据集收录坦桑尼亚境内的机场列表,包含纬度与经度信息。数据为来自http://ourairports.com/countries/TZ/ 的未经验证的社区贡献数据。 本数据集每一行代表一级行政单元的观测条目。数据最后一次在HDX平台更新的时间为2026年2月23日。地理覆盖范围:**坦桑尼亚(TZA)**。 *本数据集由[Electric Sheep Africa]("https://huggingface.co/electricsheepafrica")整理为适配机器学习的Parquet格式。* --- ## 数据集特征 | | | |---|---| | **领域** | 人道主义与发展数据 | | **观测单元** | 一级行政单元观测条目 | | **总条目数** | 212 | | **字段数** | 21(7个数值型字段,13个分类型字段,0个日期时间型字段) | | **训练集** | 169条 | | **测试集** | 42条 | | **地理覆盖范围** | 坦桑尼亚(TZA) | | **发布方** | OurAirports | | **HDX平台最后更新时间** | 2026-02-23 | --- ## 字段分类 **地理类字段** — `type`(小型机场、中型机场、已关闭机场),`latitude_deg`(取值范围 -11.6123 至 -1.075),`longitude_deg`(取值范围 29.6709 至 40.182),`country_name`(坦桑尼亚,#国家+名称),`iso_country`(TZ,#国家+ISO2代码)及另外4个字段。 **时间类字段** — `last_updated`。 **结果/测量类字段** — `score`(取值范围 0.0 至 1050.0)。 **标识符/元数据类字段** — `id`(取值范围 3250.0 至 604206.0),`ident`(#元数据+代码,HTMK、TZ-0042),`name`(#地点+机场+名称,米库米机场、姆坎吉拉机场),`gps_code`(#地点+机场+GPS代码,HTMH、HTMP),`esa_source`及另外1个字段。 **其他字段** — `elevation_ft`(取值范围 15.0 至 7795.0),`continent`(AF,#大洲代码),`scheduled_service`(取值范围 0.0 至 1.0),`wikipedia_link`。 --- ## 快速上手 python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ourairports-tza") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() --- ## 字段结构 | 字段名 | 数据类型 | 缺失率 | 取值范围/示例值 | |---|---|---|---| | `id` | float64 | 0.5% | 3250.0 – 604206.0(均值 237534.8199) | | `ident` | object | 0.0% | #元数据+代码,HTMK、TZ-0042 | | `type` | object | 0.0% | 小型机场、中型机场、已关闭机场 | | `name` | object | 0.0% | #地点+机场+名称,米库米机场、姆坎吉拉机场 | | `latitude_deg` | float64 | 0.5% | -11.6123 – -1.075(均值 -5.8509) | | `longitude_deg` | float64 | 0.5% | 29.6709 – 40.182(均值 35.0959) | | `elevation_ft` | float64 | 19.8% | 15.0 – 7795.0(均值 3311.9941) | | `continent` | object | 0.0% | AF,#大洲代码 | | `country_name` | object | 0.0% | 坦桑尼亚,#国家名称 | | `iso_country` | object | 0.0% | TZ,#国家ISO2代码 | | `region_name` | object | 0.0% | 莫罗戈罗地区、鲁夸地区、辛吉达地区 | | `iso_region` | object | 0.0% | TZ-16、TZ-20、TZ-23 | | `local_region` | float64 | 0.5% | 1.0 – 31.0(均值 14.8483) | | `municipality` | object | 6.6% | 春亚、伦瓜、伊法卡拉 | | `scheduled_service` | float64 | 0.5% | 0.0 – 1.0(均值 0.0758) | | `gps_code` | object | 59.4% | #地点+机场+GPS代码,HTMH、HTMP | | `wikipedia_link` | object | 78.8% | 无 | | `score` | float64 | 0.5% | 0.0 – 1050.0(均值 87.4408) | | `last_updated` | datetime64[ns, UTC] | 0.5% | 无 | | `esa_source` | object | 0.0% | 无 | | `esa_processed` | object | 0.0% | 无 | --- ## 数值型字段统计摘要 | 字段名 | 最小值 | 最大值 | 均值 | 中位数 | |---|---|---|---|---| | `id` | 3250.0 | 604206.0 | 237534.8199 | 318606.0 | | `latitude_deg` | -11.6123 | -1.075 | -5.8509 | -6.1356 | | `longitude_deg` | 29.6709 | 40.182 | 35.0959 | 35.1591 | | `elevation_ft` | 15.0 | 7795.0 | 3311.9941 | 3786.5 | | `local_region` | 1.0 | 31.0 | 14.8483 | 16.0 | | `scheduled_service` | 0.0 | 1.0 | 0.0758 | 0.0 | | `score` | 0.0 | 1050.0 | 87.4408 | 50.0 | --- ## 数据整理流程 原始数据通过CKAN应用程序编程接口(CKAN API)从HDX平台下载,并转换为Parquet格式。字段名称统一转换为小写并标准化为蛇形命名法。将常见的缺失值标记(`N/A`、`null`、`none`、`-`、`unknown`、`no data`、`#N/A`)统一替换为`NaN`。删除了5个缺失率超过80%的字段:`icao_code`、`iata_code`、`local_code`、`home_link`、`keywords`。基于解析成功率(阈值85%),将8个字段从字符串类型转换为数值型或日期时间型。本数据集使用固定随机种子(42)按照80/20的比例划分为训练集与测试集,并以Snappy压缩的Parquet格式存储。 --- ## 局限性说明 - 数据源自OurAirports,未经过Electric Sheep Africa的独立验证。 - 自动化清洗流程无法修正原始数据集中的错报值、定义不一致或采样偏差问题。 - 以下字段的缺失率超过20%,在建模时需谨慎使用:`gps_code`、`wikipedia_link`。 - 如需查看发布方的方法论说明与免责条款,请参阅[原始HDX数据集页面]("https://data.humdata.org/dataset/ourairports-tza")。 --- ## 引用格式 bibtex @dataset{hdx_africa_ourairports_tza, title = {Airports in Tanzania}, author = {OurAirports}, year = {2026}, url = {https://data.humdata.org/dataset/ourairports-tza}, note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)} } --- *[Electric Sheep Africa]("https://huggingface.co/electricsheepafrica") — 非洲机器学习数据集基础设施。尼日利亚拉各斯。*
提供机构:
electricsheepafrica
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作