CoolFace
Datasetpublic

electricsheepafrica/africa-tunisia-tn-demande-mensuelle-d-energie-primaire-ffb3f8db

Tn Demande Mensuelle D Energie Primaire | Africa (Tunisia Open Data) 576 rows - 1 Africa country/area - 2010-2021 - 4 indicators - Engineered by Electric Sheep Africa TL;DR This dataset contains 576 rows from Tunisia Open Data, covering Tn Demande Mensuelle D Energie Primaire. 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-tunisia-tn-demande-mensuelle-d-energie-primaire-ffb3f8db.

sourceHugging Faceotherupdated 2mo agoView on Hugging Face
0likes15downloads
Dataset Card

Tn Demande Mensuelle D Energie Primaire | Africa (Tunisia Open Data)

576 rows - 1 Africa country/area - 2010-2021 - 4 indicators - Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)

rows countries period indicators license

TL;DR

This dataset contains 576 rows from Tunisia Open Data, covering Tn Demande Mensuelle D Energie Primaire. 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: Demande d’énergie primaire mensuel

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
Rows576
Countries/areas1
First period2010
Last period2021
Indicators4
Columns18
Source formatCSV

Geographic Coverage

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

AreaRowsFirst yearLast yearName
TUN57620102021Tunisia

Indicators, Variables, Or Resource Contents

  • —tn-demande-mensuelle-d-energie-primaire-produits-petroliers-b6c066a6 - TN-Demande mensuelle d'énergie primaire - produits petroliers(sourceunitsunspecified)
  • —tn-demande-mensuelle-d-energie-primaire-gaz-naturel-02b79264 - TN-Demande mensuelle d'énergie primaire - gaz naturel(sourceunitsunspecified)
  • —tn-demande-mensuelle-d-energie-primaire-elec-primaire-808ca620 - TN-Demande mensuelle d'énergie primaire - elec primaire(sourceunitsunspecified)
  • —tn-demande-mensuelle-d-energie-primaire-total-ktep-pci-38020c5c - TN-Demande mensuelle d'énergie primaire - total ktep pci(sourceunitsunspecified)

Schema

ColumnTypeDescriptionExample
indicator_idstringStable source or Electric Sheep Africa indicator identifier.tn-demande-mensuelle-d-energie-primaire-produits-petroliers-b6c066a6
indicator_namestringHuman-readable indicator name.TN-Demande mensuelle d'énergie primaire - produits petroliers
country_iso3stringISO3 country or area code.TUN
country_namestringCountry or area name.Tunisia
yearint64Observation year.2010
valuedoubleNumeric observation value.306.04
unitstringMeasurement unit, when supplied by the source.source_units_unspecified
source_period_start_yearint64Start year inferred from source metadata.``
source_period_end_yearint64End year inferred from source metadata.``
source_period_labelstringSource column from the original resource.``
source_providerstringPublishing organization.Ministère de l'Industrie, de l’Energie, des Mines
source_datasetstringSource dataset or package title.TN-Demande mensuelle d'énergie primaire
source_resourcestringSource resource title, table name, or file name.Demande d’énergie primaire mensuel
source_package_idstringSource package identifier.79b32098-d26a-4c5d-acac-6caa876c2fec
source_resource_idstringSource resource identifier.65445414-1d87-4476-884b-9c38774b2b40
source_urlstringOriginal source URL or download URL.https://catalog.data.gov.tn/dataset/79b32098-d26a-4c5d-acac-6caa876c2...
license_idstringSource license identifier.otl-data.industrie.gov.tn
retrieved_atstringUTC source retrieval timestamp from the Electric Sheep Africa pipeline.2026-07-18T23:08:36Z

Usage

python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-tunisia-tn-demande-mensuelle-d-energie-primaire-ffb3f8db")
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"] == "TUN"]

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_tunisia_tn_demande_mensuelle_d_energie_primaire_ffb3f8db_2021,
  title        = {Tn Demande Mensuelle D Energie Primaire | Africa (Tunisia Open Data)},
  author       = {Ministère de l'Industrie, de l’Energie, des Mines},
  year         = {2021},
  url          = {https://catalog.data.gov.tn/dataset/demande-d-energie-primaire-mensuel},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-tunisia-tn-demande-mensuelle-d-energie-primaire-ffb3f8db}}
}

License

Released under otl-data.industrie.gov.tn.

Original data is published by Ministère de l'Industrie, de l’Energie, des Mines. 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-12 by the Electric Sheep Africa README system. Source URL: https://catalog.data.gov.tn/dataset/demande-d-energie-primaire-mensuel