--- license: cc-by-4.0 language: - en task_categories: - tabular-classification - tabular-regression multilinguality: monolingual size_categories: - n<1K tags: - tabular - csv - africa - ghana - official-statistics - open-data - health pretty_name: "Annual Distribution of Fatalities by Road User Class | Africa (Ghana official open data)" --- # Annual Distribution of Fatalities by Road User Class | Africa (Ghana official open data) 255 rows - 1 Africa country - 1991-2011 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica) ![rows](https://img.shields.io/badge/rows-255-blue) ![countries](https://img.shields.io/badge/countries-1-green) ![years](https://img.shields.io/badge/years-1991-2011-orange) ![indicators](https://img.shields.io/badge/indicators-0-purple) ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey) ## TL;DR This dataset packages one official `CSV` resource from **Ghana** as ML-ready Parquet. The source file is the provenance boundary; all usable indicators or tabular columns from the resource stay together in this repo. ## About the source - **Source:** [Annual Distribution of Fatalities by Road User Class](http://data.gov.gh/dataset/annual-distribution-fatalities-road-user-class) - **Publisher:** Official government open data portal - **Resource:** [Annual Distribution of Fatalities by Road User Class](http://data.gov.gh/sites/default/files/Annual%20Distribution%20of%20Fatalities%20by%20Road%20User%20Class_2.csv) - **Format:** `CSV` - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) - **Packaging mode:** `tabular_resource` ## Geographic coverage 1 Africa country: | Country | Rows | First year | Last year | Name | |---------|-----:|-----------:|----------:|------| | `GHA` | 255 | 1991 | 2011 | `Ghana` | ## Indicators or Resource Contents - This source file is packaged as a normalized tabular resource. ## Schema | Column | Type | Description | Example | |--------|------|-------------|---------| | `source_record_id` | `string` | Stable row identifier for tabular resources. | `c2ea1804-08ee-4138-a7ac-52a10298da52:0` | | `country_iso3` | `string` | ISO3 country code. | `GHA` | | `country_name` | `string` | Country name. | `Ghana` | | `doctype_html_public_w3c_dtd_xhtml_rdfa_1_0_en` | `string` | Source column. | `"https://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">` | | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `1991` | | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2011` | | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `1991-2011` | | `source_provider` | `string` | Publishing organization. | `Official government open data portal` | | `source_dataset` | `string` | Source package title. | `Annual Distribution of Fatalities by Road User Class` | | `source_resource` | `string` | Source resource title. | `Annual Distribution of Fatalities by Road User Class` | | `source_package_id` | `string` | CKAN package UUID. | `1bb7f93d-be1e-497b-a899-45085256e856` | | `source_resource_id` | `string` | CKAN resource UUID. | `c2ea1804-08ee-4138-a7ac-52a10298da52` | | `source_url` | `string` | Original source resource URL. | `http://data.gov.gh/sites/default/files/Annual%20Distribution%20of%20Fata` | | `license_id` | `string` | Source license identifier. | `cc-by` | | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-18T20:11:31Z` | ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-ghana-annual-distribution-of-fatalities-by-road-user-class-48301846") df = ds["train"].to_pandas() print(df.head()) ``` ### Filter to one country ```python sample_country = df[df["country_iso3"] == "GHA"] ``` ### Work with indicators ```python if "indicator_id" in df.columns: print(df["indicator_id"].value_counts().head()) sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns]) ``` ## Citation ```bibtex @misc{electric_sheep_africa_africa_ghana_annual_distribution_of_fatalities_by_road_user_class_48301846_2011, title = {Annual Distribution of Fatalities by Road User Class | Africa (Ghana official open data)}, author = {Official government open data portal}, year = {2011}, url = {http://data.gov.gh/dataset/annual-distribution-fatalities-road-user-class}, publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ghana-annual-distribution-of-fatalities-by-road-user-class-48301846}} } ``` ## License Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Original data (c) Official government open data portal. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging. ## About Electric Sheep Electric Sheep Africa is part of the Electric Sheep mission: a unified, ML-ready data layer for Africa on Hugging Face. We pull data from authoritative open sources, normalize the schemas, package as Parquet, and publish with consistent dataset cards so researchers and developers can use `load_dataset()` to start working in seconds. Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica) --- Provenance: ingested 2026-07-18 via the Electric Sheep pipeline. Source URL: http://data.gov.gh/sites/default/files/Annual%20Distribution%20of%20Fatalities%20by%20Road%20User%20Class_2.csv