CoolFace
Datasetpublic

electricsheepafrica/africa-ghana-road-accidents-and-casualties-in-ghana-4be54858

Road Accidents and Casualties in Ghana | Africa (Ghana Open Data) 133 rows - 1 Africa country/area - 2001-2011 - 7 indicators - Engineered by Electric Sheep Africa TL;DR This dataset contains 133 rows from Ghana Open Data, covering Road Accidents and Casualties in Ghana. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples. What This Dataset Measures Transport… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-ghana-road-accidents-and-casualties-in-ghana-4be54858.

sourceHugging Faceodc-byupdated 2mo agoView on Hugging Face
0likes22downloads
Dataset Card

Road Accidents and Casualties in Ghana | Africa (Ghana Open Data)

133 rows - 1 Africa country/area - 2001-2011 - 7 indicators - Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)

rows countries period indicators license

TL;DR

This dataset contains 133 rows from Ghana Open Data, covering Road Accidents and Casualties in Ghana. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.

What This Dataset Measures

Transport datasets help analysts examine mobility, infrastructure, passenger movement, logistics, and access to services.

Source-provided context: Accidents and Casualty by Severity by City from 2001-2011

How To Read This Dataset

  • —One row means: one indicator observation for one geography, time period, and optional source dimensions.
  • —Primary geography column: country_iso3.
  • —Best time column: year.
  • —Time coverage basis: year.
  • —Recommended join keys: country_iso3, year, indicator_id.

Coverage

DimensionValue
Rows133
Countries/areas1
First period2001
Last period2011
Indicators7
Columns19
Source formatCSV

Geographic Coverage

Top areas shown below, sorted by row count when available:

AreaRowsFirst yearLast yearName
GHA13320012011Ghana

Indicators, Variables, Or Resource Contents

  • —road-accidents-and-casualties-in-ghana-unnamed-2-29ab3871 - Road Accidents and Casualties in Ghana - unnamed 2(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-3-47b28026 - Road Accidents and Casualties in Ghana - unnamed 3(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-4-f96779a3 - Road Accidents and Casualties in Ghana - unnamed 4(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-5-865dc280 - Road Accidents and Casualties in Ghana - unnamed 5(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-6-a3231334 - Road Accidents and Casualties in Ghana - unnamed 6(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-7-50ae1544 - Road Accidents and Casualties in Ghana - unnamed 7(sourceunitsunspecified)
  • —road-accidents-and-casualties-in-ghana-unnamed-8-a8a2bee6 - Road Accidents and Casualties in Ghana - unnamed 8(sourceunitsunspecified)

Schema

ColumnTypeDescriptionExample
indicator_idstringStable source or Electric Sheep Africa indicator identifier.road-accidents-and-casualties-in-ghana-unnamed-2-29ab3871
indicator_namestringHuman-readable indicator name.Road Accidents and Casualties in Ghana - unnamed 2
country_iso3stringISO3 country or area code.GHA
country_namestringCountry or area name.Ghana
yearint64Observation year.2011
valuedoubleNumeric observation value.234.0
unitstringMeasurement unit, when supplied by the source.source_units_unspecified
dimension_accidents_and_casualties_by_severity_by_citystringSource dimension retained during long-form normalization.Accra
source_period_start_yearint64Start year inferred from source metadata.2001
source_period_end_yearint64End year inferred from source metadata.2011
source_period_labelstringSource column from the original resource.2001-2011
source_providerstringPublishing organization.Official government open data portal
source_datasetstringSource dataset or package title.Road Accidents and Casualties in Ghana
source_resourcestringSource resource title, table name, or file name.Accidents and Casualty by Severity by City
source_package_idstringSource package identifier.8da4913c-b3e9-415a-bd17-e52abac01cce
source_resource_idstringSource resource identifier.09966a29-11da-44da-8255-dbfa9884c4f8
source_urlstringOriginal source URL or download URL.http://data.gov.gh/sites/default/files/Accidents%20and%20Casualty%20b...
license_idstringSource license identifier.odc-by
retrieved_atstringUTC source retrieval timestamp from the Electric Sheep Africa pipeline.2026-07-18T20:11:31Z

Usage

python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-ghana-road-accidents-and-casualties-in-ghana-4be54858")
df = ds["train"].to_pandas()
print(df.head())

Inspect Columns

python
print(df.info())
print(df.head())

Filter By Geography

python
if "country_iso3" in df.columns:
    sample = df[df["country_iso3"] == "GHA"]

Time-Series Pattern

python
if "value" in df.columns and "year" in df.columns:
    trend = df.sort_values("year")

Pivot For Analysis

python
if {"indicator_id", "year", "value"}.issubset(df.columns):
    matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
    print(matrix.tail())

Data Quality Notes

  • —Canonical time field: year.
  • —Missing values are preserved rather than silently imputed.
  • —Column names are standardized for machine use; source meanings are preserved where known.
  • —Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.

Source And Provenance

Transformations Applied

  • —Converted the source table to Parquet for efficient analytics and ML workflows.
  • —Added or preserved source provenance columns where available.
  • —Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
  • —Preserved source-reported values without analytical imputation.

Suggested Analyses

  • —Track mobility over time
  • —Compare routes or geographies
  • —Join with economic and population data
  • —Build time-series views and period-over-period comparisons
  • —Pivot to geography x period or indicator x period matrices
  • —Check missingness before modeling
  • —Use country_iso3 as the safest geography join key when present

Citation

bibtex
@misc{electric_sheep_africa_africa_ghana_road_accidents_and_casualties_in_ghana_4be54858_2011,
  title        = {Road Accidents and Casualties in Ghana | Africa (Ghana Open Data)},
  author       = {Ghana official open data portal},
  year         = {2011},
  url          = {http://data.gov.gh/dataset/road-accidents-and-casualties-ghana},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ghana-road-accidents-and-casualties-in-ghana-4be54858}}
}

License

Released under Open Data Commons Attribution License.

Original data is published by Ghana official open data portal. Electric Sheep Africa engineering standardizes the data for discovery, loading, and analysis on Hugging Face. Cite both the original source and this ML-ready dataset when used.

About Electric Sheep Africa

Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.


Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: http://data.gov.gh/dataset/road-accidents-and-casualties-ghana