CoolFace
Datasetpublic

electricsheepafrica/africa-ghana-time-series-historical-data-on-grid-electricity-generation-08e95201

Time Series Historical Data On Grid Electricity Generation | Africa (Ghana Open Data) 160 rows - 1 Africa country/area - 2008-2017 - 1 indicator - Engineered by Electric Sheep Africa TL;DR This dataset contains 160 rows from Ghana Open Data, covering Time Series Historical Data On Grid Electricity Generation. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples. What… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-ghana-time-series-historical-data-on-grid-electricity-generation-08e95201.

sourceHugging Facecc-by-4.0updated 2mo agoView on Hugging Face
0likes13downloads
Dataset Card

Time Series Historical Data On Grid Electricity Generation | Africa (Ghana Open Data)

160 rows - 1 Africa country/area - 2008-2017 - 1 indicator - Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)

rows countries period indicators license

TL;DR

This dataset contains 160 rows from Ghana Open Data, covering Time Series Historical Data On Grid Electricity Generation. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.

What This Dataset Measures

Energy datasets help analysts study supply, demand, prices, generation, access, and the infrastructure behind economic activity.

Source-provided context: Grid electricity generation by power plants and their installed capacities. This includes generation from hydro, thermal and renewable sources.

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
Rows160
Countries/areas1
First period2008
Last period2017
Indicators1
Columns19
Source formatCSV

Geographic Coverage

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

AreaRowsFirst yearLast yearName
GHA16020082017Ghana

Indicators, Variables, Or Resource Contents

  • —time-series-historical-data-on-grid-electricity-generation-updated-annua-08e95201 - Time series historical data on Grid Electricity Generation updated annually(sourceunitsunspecified)

Schema

ColumnTypeDescriptionExample
indicator_idstringStable source or Electric Sheep Africa indicator identifier.time-series-historical-data-on-grid-electricity-generation-updated-an...
indicator_namestringHuman-readable indicator name.Time series historical data on Grid Electricity Generation updated an...
country_iso3stringISO3 country or area code.GHA
country_namestringCountry or area name.Ghana
yearint64Observation year.2008
valuedoubleNumeric observation value.5254.0
unitstringMeasurement unit, when supplied by the source.source_units_unspecified
dimension_plantstringSource dimension retained during long-form normalization.Akosombo
source_period_start_yearint64Start year inferred from source metadata.2008
source_period_end_yearint64End year inferred from source metadata.2017
source_period_labelstringSource column from the original resource.2008-2017
source_providerstringPublishing organization.Official government open data portal
source_datasetstringSource dataset or package title.Time series historical data on Grid Electricity Generation updated an...
source_resourcestringSource resource title, table name, or file name.Electricity generation from 2008 to 2017
source_package_idstringSource package identifier.5559721c-769d-4f33-bf58-6b151d807446
source_resource_idstringSource resource identifier.e6746573-8615-458b-9935-c2f7239b259c
source_urlstringOriginal source URL or download URL.http://data.gov.gh/sites/default/files/electricity_generation.csv
license_idstringSource license identifier.cc-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-time-series-historical-data-on-grid-electricity-generation-08e95201")
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 supply or price trends
  • —Compare energy sources
  • —Join with population, industry, or emissions 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_time_series_historical_data_on_grid_electricity_generation_08e95201_2017,
  title        = {Time Series Historical Data On Grid Electricity Generation | Africa (Ghana Open Data)},
  author       = {Ghana official open data portal},
  year         = {2017},
  url          = {http://data.gov.gh/dataset/time-series-historical-data-grid-electricity-generation-updated-annually},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ghana-time-series-historical-data-on-grid-electricity-generation-08e95201}}
}

License

Released under CC BY 4.0.

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/time-series-historical-data-grid-electricity-generation-updated-annually