Olaroti's picture
Add ML-ready official indicator dataset
f9dec58 verified
|
Raw
History Blame Contribute Delete
7.93 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)

148 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 148 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-1271:q3-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. Q3_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_50586539104158 float64 Source column. 110.97247332881774
d_112_85483645868298 float64 Source column. 111.0352562646031
d_112_94693894026588 float64 Source column. 111.22909668225373
d_0_3101803327572892 float64 Source column. 0.0565752333908381
d_0_08161146165553836 float64 Source column. 0.1745755575046247
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. Q3 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-1271
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_221239666041 float64 Source column. ``
d_104_434174506544 float64 Source column. ``
d_104_498053554273 float64 Source column. ``
d_0_20431040849764293 float64 Source column. ``
d_0_0611668048613725 float64 Source column. ``
commodity_group string Source column. ``
jan_2018 float64 Source column. ``
jul_2024 float64 Source column. ``
aug_2024 float64 Source column. ``
sept_2024 float64 Source column. ``
aug_2024_2 float64 Source column. ``
sept_2024_2 float64 Source column. ``
africa string Source column. ``
d_103_41902455117736 float64 Source column. ``
d_103_72704272917953 float64 Source column. ``
d_103_78775214859759 float64 Source column. ``
d_0_29783512205701346 float64 Source column. ``
d_0_058528053842782694 float64 Source column. ``
d_109_02484860232926 float64 Source column. ``
d_109_438357470074 float64 Source column. ``
d_109_2195180284248 float64 Source column. ``
d_0_37927946981428245 float64 Source column. ``
d_0_19996594129168688 float64 Source column. ``
d_94_85821432176506 float64 Source column. ``
d_94_78124957928372 float64 Source column. ``
d_95_02674432383635 float64 Source column. ``
d_0_08113661324075513 float64 Source column. ``
d_0_2590119307799121 float64 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-537fe93c")
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_537fe93c_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-537fe93c}}
}

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/1271