File size: 5,622 Bytes
c3b6a38 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | ---
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)





## 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
|