five

electricsheepafrica/africa-united-republic-of-tanzania-languages

收藏
Hugging Face2026-04-06 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-united-republic-of-tanzania-languages
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: cc-by-sa-4.0 multilinguality: - monolingual size_categories: - n<1K source_datasets: - original task_categories: - other task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - languages - tza pretty_name: "United Republic of Tanzania: Languages" dataset_info: splits: - name: train num_examples: 12 - name: test num_examples: 3 --- # United Republic of Tanzania: Languages **Publisher:** CLEAR Global (previously Translators without Borders) · **Source:** [HDX](https://data.humdata.org/dataset/united-republic-of-tanzania-languages) · **License:** `cc-by-sa` · **Updated:** 2026-04-03 --- ## Abstract Data on languages spoken in United Republic of Tanzania, showing the main language spoken in the household by proportion of the population. Data is drawn from AfroBarometer. For more resources on the languages of United Republic of Tanzania and language use in humanitarian contexts please visit: https://clearglobal.org/language-maps-and-data/ Each row in this dataset represents time-series observations. Temporal coverage is indicated by the `datetime_published`, `date_creation` column(s). Geographic scope: **TZA**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Demographics and population | | **Unit of observation** | Time-series observations | | **Rows (total)** | 16 | | **Columns** | 16 (4 numeric, 10 categorical, 2 datetime) | | **Train split** | 12 rows | | **Test split** | 3 rows | | **Geographic scope** | TZA | | **Publisher** | CLEAR Global (previously Translators without Borders) | | **HDX last updated** | 2026-04-03 | --- ## Variables **Geographic** — `location_code` (TZA), `location_name` (Tanzania (United Republic of)), `location_level` (range 0.0–0.0), `reliability_score` (range 0.5632–0.5632), `representivity_rating` (moderate). **Temporal** — `datetime_published`, `date_creation`. **Demographic** — `language_code` (kiha1242, lugu1238, gogo1263), `language_name` (Kihai, Luguru, Gogo), `language_rank` (range 1.0–16.0). **Outcome / Measurement** — `proportion_value` (range 0.0002–0.7378). **Identifier / Metadata** — `dataset_name` (Tanzania Round 9 data (2022)), `source` (AfroBarometer), `esa_source` (HDX), `esa_processed` (2026-04-06). **Other** — `url` (https://www.afrobarometer.org/wp-content/uploads/2024/02/TAN_R9.data_.final_.wtd_release.30May23.sav). --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-united-republic-of-tanzania-languages") train = ds["train"].to_pandas() test = ds["test"].to_pandas() print(train.shape) train.head() ``` --- ## Schema | Column | Type | Null % | Range / Sample Values | |---|---|---|---| | `location_code` | object | 0.0% | TZA | | `location_name` | object | 0.0% | Tanzania (United Republic of) | | `location_level` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) | | `language_code` | object | 0.0% | kiha1242, lugu1238, gogo1263 | | `language_name` | object | 0.0% | Kihai, Luguru, Gogo | | `language_rank` | int64 | 0.0% | 1.0 – 16.0 (mean 8.5) | | `proportion_value` | float64 | 0.0% | 0.0002 – 0.7378 (mean 0.0625) | | `reliability_score` | float64 | 0.0% | 0.5632 – 0.5632 (mean 0.5632) | | `dataset_name` | object | 0.0% | Tanzania Round 9 data (2022) | | `url` | object | 0.0% | https://www.afrobarometer.org/wp-content/uploads/2024/02/TAN_R9.data_.final_.wtd_release.30May23.sav | | `source` | object | 0.0% | AfroBarometer | | `datetime_published` | datetime64[ns] | 0.0% | | | `date_creation` | datetime64[ns] | 0.0% | | | `representivity_rating` | object | 0.0% | moderate | | `esa_source` | object | 0.0% | HDX | | `esa_processed` | object | 0.0% | 2026-04-06 | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `location_level` | 0.0 | 0.0 | 0.0 | 0.0 | | `language_rank` | 1.0 | 16.0 | 8.5 | 8.5 | | `proportion_value` | 0.0002 | 0.7378 | 0.0625 | 0.0066 | | `reliability_score` | 0.5632 | 0.5632 | 0.5632 | 0.5632 | --- ## 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 CLEAR Global (previously Translators without Borders) 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/united-republic-of-tanzania-languages) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_united_republic_of_tanzania_languages, title = {United Republic of Tanzania: Languages}, author = {CLEAR Global (previously Translators without Borders)}, year = {2026}, url = {https://data.humdata.org/dataset/united-republic-of-tanzania-languages}, 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.*
提供机构:
electricsheepafrica
二维码
社区交流群
二维码
科研交流群
商业服务