Olaroti's picture
Add ML-ready official indicator dataset
678c68c verified
|
Raw
History Blame Contribute Delete
7.36 kB
metadata
license: other
language:
  - en
task_categories:
  - tabular-classification
  - tabular-regression
multilinguality: monolingual
size_categories:
  - n<1K
tags:
  - tabular
  - zip
  - africa
  - nigeria
  - official-statistics
  - open-data
  - economics
pretty_name: >-
  Commodity Price Indices and Terms of Trade | Africa (Nigeria official open
  data)

Commodity Price Indices and Terms of Trade | Africa (Nigeria official open data)

150 rows - 1 Africa country - 2024 - Repackaged by Electric Sheep Africa

rows countries years indicators license

TL;DR

This dataset packages one official ZIP resource from Nigeria 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

Geographic coverage

1 Africa country:

Country Rows First year Last year Name
NGA 150 2024 2024 Nigeria

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. nbs-nada-167-1272:q4-2024-commodity-price-indices:0
country_iso3 string ISO3 country code. NGA
country_name string Country name. Nigeria
source_sheet string Workbook sheet name, when the source is a spreadsheet. Q4_2024_Commodity_Price_Indices_and_Terms_of_Trade_Tables.xlsx::Table1
year Int64 Observation year. 2024
live_animals_animal_products string Source column. Vegetable products
d_100 float64 Source column. 100.0
d_112_400626092163 float64 Source column. 111.32660026584428
d_112_41764344894226 float64 Source column. 111.77822685944754
d_112_615180916617 float64 Source column. 111.65991900661872
d_0_015139912802006713 float64 Source column. 0.4056771629824153
d_0_17571749559442296 float64 Source column. -0.1058415902209629
source_period_start_year Int64 First year inferred from source resource metadata. 2024
source_period_end_year Int64 Last year inferred from source resource metadata. 2024
source_period_label string Human-readable period inferred from source resource metadata. 2024
source_provider string Publishing organization. National Bureau of Statistics, Nigeria
source_dataset string Source package title. Commodity Price Indices and Terms of Trade
source_resource string Source resource title. Q4 2024 Commodity Price Indices and Terms of Trade
source_package_id string CKAN package UUID. NGA-NBS-TOT
source_resource_id string CKAN resource UUID. nbs-nada-167-1272
source_url string Original source resource URL. https://microdata.nigerianstat.gov.ng/index.php/catalog/167/download/127
license_id string Source license identifier. other-open
retrieved_at string UTC retrieval timestamp. 2026-07-19T04:13:01Z
d_104_045886144583 float64 Source column. ``
d_104_412385631892 float64 Source column. ``
d_104_560032088203 float64 Source column. ``
d_0_3522479368378956 float64 Source column. ``
d_0_1414070327169222 float64 Source column. ``
commodity_group string Source column. ``
jan_2018 float64 Source column. ``
oct_2024 float64 Source column. ``
nov_2024 float64 Source column. ``
dec_2024 float64 Source column. ``
nov_2024_2 float64 Source column. ``
dec_2024_2 float64 Source column. ``
africa string Source column. ``
d_103_368628882031 float64 Source column. ``
d_103_438608024072 float64 Source column. ``
d_103_463953749815 float64 Source column. ``
d_0_06769862655415088 float64 Source column. ``
d_0_02450315817969063 float64 Source column. ``
region string Source column. ``
product_code string Source column. ``
product_description string Source column. ``
value_n string Source column. ``
product_code_2 string Source column. ``
product_description_2 string Source column. ``
value_n_2 string Source column. ``

Usage

from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-nigeria-commodity-price-indices-and-terms-of-trade-5e023c0f")
df = ds["train"].to_pandas()
print(df.head())

Filter to one country

sample_country = df[df["country_iso3"] == "NGA"]

Work with indicators

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

@misc{electric_sheep_africa_africa_nigeria_commodity_price_indices_and_terms_of_trade_5e023c0f_2024,
  title        = {Commodity Price Indices and Terms of Trade | Africa (Nigeria official open data)},
  author       = {National Bureau of Statistics, Nigeria},
  year         = {2024},
  url          = {https://microdata.nigerianstat.gov.ng/index.php/catalog/167/related-materials},
  publisher    = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-nigeria-commodity-price-indices-and-terms-of-trade-5e023c0f}}
}

License

Released under Other open license.

Original data (c) National Bureau of Statistics, Nigeria. 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


Provenance: ingested 2026-07-19 via the Electric Sheep pipeline. Source URL: https://microdata.nigerianstat.gov.ng/index.php/catalog/167/download/1272