Add ML-ready official indicator dataset
Browse files- README.md +143 -0
- data/train-00000-of-00001.parquet +3 -0
- metadata/source_snapshot.json +66 -0
README.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-regression
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- xlsx
|
| 14 |
+
- africa
|
| 15 |
+
- nigeria
|
| 16 |
+
- official-statistics
|
| 17 |
+
- open-data
|
| 18 |
+
- economics
|
| 19 |
+
pretty_name: "Premium Motor Spirit (Petrol) Price Watch | Africa (Nigeria official open data)"
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Premium Motor Spirit (Petrol) Price Watch | Africa (Nigeria official open data)
|
| 23 |
+
|
| 24 |
+
116 rows - 1 Africa country - 2023-2024 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+

|
| 28 |
+

|
| 29 |
+

|
| 30 |
+

|
| 31 |
+
|
| 32 |
+
## TL;DR
|
| 33 |
+
|
| 34 |
+
This dataset packages one official `XLSX` resource from **Nigeria** as
|
| 35 |
+
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 36 |
+
indicators or tabular columns from the resource stay together in this repo.
|
| 37 |
+
|
| 38 |
+
## About the source
|
| 39 |
+
|
| 40 |
+
- **Source:** [Premium Motor Spirit (Petrol) Price Watch](https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials)
|
| 41 |
+
- **Publisher:** National Bureau of Statistics, Nigeria
|
| 42 |
+
- **Resource:** [PMS November 2024 Tables](https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1129)
|
| 43 |
+
- **Format:** `XLSX`
|
| 44 |
+
- **License:** [Other open license]()
|
| 45 |
+
- **Packaging mode:** `indicator_long`
|
| 46 |
+
|
| 47 |
+
## Geographic coverage
|
| 48 |
+
|
| 49 |
+
1 Africa country:
|
| 50 |
+
|
| 51 |
+
| Country | Rows | First year | Last year | Name |
|
| 52 |
+
|---------|-----:|-----------:|----------:|------|
|
| 53 |
+
| `NGA` | 116 | 2023 | 2024 | `Nigeria` |
|
| 54 |
+
|
| 55 |
+
## Indicators or Resource Contents
|
| 56 |
+
|
| 57 |
+
- `premium-motor-spirit-petrol-price-watch-08946669` - Premium Motor Spirit (Petrol) Price Watch
|
| 58 |
+
|
| 59 |
+
## Schema
|
| 60 |
+
|
| 61 |
+
| Column | Type | Description | Example |
|
| 62 |
+
|--------|------|-------------|---------|
|
| 63 |
+
| `indicator_id` | `string` | Stable indicator identifier. | `premium-motor-spirit-petrol-price-watch-08946669` |
|
| 64 |
+
| `indicator_name` | `string` | Human-readable indicator name. | `Premium Motor Spirit (Petrol) Price Watch` |
|
| 65 |
+
| `country_iso3` | `string` | ISO3 country code. | `NGA` |
|
| 66 |
+
| `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `November 2024` |
|
| 67 |
+
| `country_name` | `string` | Country name. | `Nigeria` |
|
| 68 |
+
| `year` | `Int64` | Observation year. | `2023` |
|
| 69 |
+
| `value` | `float64` | Numeric observation value. | `654.3571428571429` |
|
| 70 |
+
| `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
|
| 71 |
+
| `dimension_state` | `string` | Source dimension. | `Abia` |
|
| 72 |
+
| `dimension_zone` | `string` | Source dimension. | `South East` |
|
| 73 |
+
| `dimension_average_price` | `string` | Source dimension. | `1257.7218642167013` |
|
| 74 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2024` |
|
| 75 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2024` |
|
| 76 |
+
| `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `2024` |
|
| 77 |
+
| `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Nigeria` |
|
| 78 |
+
| `source_dataset` | `string` | Source package title. | `Premium Motor Spirit (Petrol) Price Watch` |
|
| 79 |
+
| `source_resource` | `string` | Source resource title. | `PMS November 2024 Tables` |
|
| 80 |
+
| `source_package_id` | `string` | CKAN package UUID. | `NGA-NBS-PMS` |
|
| 81 |
+
| `source_resource_id` | `string` | CKAN resource UUID. | `nbs-nada-157-1129` |
|
| 82 |
+
| `source_url` | `string` | Original source resource URL. | `https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/112` |
|
| 83 |
+
| `license_id` | `string` | Source license identifier. | `other-open` |
|
| 84 |
+
| `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-19T04:13:01Z` |
|
| 85 |
+
|
| 86 |
+
## Usage
|
| 87 |
+
|
| 88 |
+
```python
|
| 89 |
+
from datasets import load_dataset
|
| 90 |
+
|
| 91 |
+
ds = load_dataset("electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-08946669")
|
| 92 |
+
df = ds["train"].to_pandas()
|
| 93 |
+
print(df.head())
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
### Filter to one country
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
sample_country = df[df["country_iso3"] == "NGA"]
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
### Work with indicators
|
| 103 |
+
|
| 104 |
+
```python
|
| 105 |
+
if "indicator_id" in df.columns:
|
| 106 |
+
print(df["indicator_id"].value_counts().head())
|
| 107 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
## Citation
|
| 111 |
+
|
| 112 |
+
```bibtex
|
| 113 |
+
@misc{electric_sheep_africa_africa_nigeria_premium_motor_spirit_petrol_price_watch_08946669_2024,
|
| 114 |
+
title = {Premium Motor Spirit (Petrol) Price Watch | Africa (Nigeria official open data)},
|
| 115 |
+
author = {National Bureau of Statistics, Nigeria},
|
| 116 |
+
year = {2024},
|
| 117 |
+
url = {https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials},
|
| 118 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 119 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-08946669}}
|
| 120 |
+
}
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
## License
|
| 124 |
+
|
| 125 |
+
Released under [Other open license]().
|
| 126 |
+
|
| 127 |
+
Original data (c) National Bureau of Statistics, Nigeria. When using this dataset, please cite both the
|
| 128 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 129 |
+
|
| 130 |
+
## About Electric Sheep
|
| 131 |
+
|
| 132 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 133 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 134 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 135 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 136 |
+
to start working in seconds.
|
| 137 |
+
|
| 138 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
Provenance: ingested 2026-07-19 via the Electric Sheep pipeline. Source URL:
|
| 143 |
+
https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1129
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8bca55aabc0d991eb913dbdafb51f558c54cb4f167de13405d8f010936e4ec9
|
| 3 |
+
size 16625
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"indicator_id",
|
| 4 |
+
"indicator_name",
|
| 5 |
+
"country_iso3",
|
| 6 |
+
"source_sheet",
|
| 7 |
+
"country_name",
|
| 8 |
+
"year",
|
| 9 |
+
"value",
|
| 10 |
+
"unit",
|
| 11 |
+
"dimension_state",
|
| 12 |
+
"dimension_zone",
|
| 13 |
+
"dimension_average_price",
|
| 14 |
+
"source_period_start_year",
|
| 15 |
+
"source_period_end_year",
|
| 16 |
+
"source_period_label",
|
| 17 |
+
"source_provider",
|
| 18 |
+
"source_dataset",
|
| 19 |
+
"source_resource",
|
| 20 |
+
"source_package_id",
|
| 21 |
+
"source_resource_id",
|
| 22 |
+
"source_url",
|
| 23 |
+
"license_id",
|
| 24 |
+
"retrieved_at"
|
| 25 |
+
],
|
| 26 |
+
"generated_at": "2026-07-19T04:22:05Z",
|
| 27 |
+
"indicator_count": 1,
|
| 28 |
+
"mode": "indicator_long",
|
| 29 |
+
"repo_id": "electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-08946669",
|
| 30 |
+
"rows": 116,
|
| 31 |
+
"source": {
|
| 32 |
+
"api_base_url": "https://microdata.nigerianstat.gov.ng/index.php/api/catalog/search",
|
| 33 |
+
"country_iso3": "NGA",
|
| 34 |
+
"country_name": "Nigeria",
|
| 35 |
+
"group_names": "NATIONAL ECONOMY; PMS November 2024 Tables; PMS NOV 2024 REPORT.xlsx; 0",
|
| 36 |
+
"license_id": "other-open",
|
| 37 |
+
"license_title": "Public NBS related material",
|
| 38 |
+
"license_url": "https://microdata.nigerianstat.gov.ng/index.php/catalog/157",
|
| 39 |
+
"organization_title": "National Bureau of Statistics, Nigeria",
|
| 40 |
+
"package_id": "NGA-NBS-PMS",
|
| 41 |
+
"package_name": "nga-nbs-pms",
|
| 42 |
+
"package_notes": "The data collection was conducted in sample outlets spread across 774 local government areas in all the 36 states and the FCT, Abuja. The data was collected from over 10,000 respondents located in the outlets. The estimates were derived from the weights generated from household expenditure on fuel and the actual prices households bought those fuels. This data collection exercise was done by over 700 NBS staff in all the states and the FCT and were closely monitored by quality control officers with sophisticated monitoring guidelines. The average prices are reported for each state and the FCT, Abuja accordingly.",
|
| 43 |
+
"package_page_url": "https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials",
|
| 44 |
+
"package_title": "Premium Motor Spirit (Petrol) Price Watch",
|
| 45 |
+
"package_type": "document",
|
| 46 |
+
"portal_title": "National Bureau of Statistics Microdata Catalog",
|
| 47 |
+
"portal_url": "https://microdata.nigerianstat.gov.ng",
|
| 48 |
+
"resource_created": "2025-01-16T08:53:39+00:00",
|
| 49 |
+
"resource_description": "Table [tbl]",
|
| 50 |
+
"resource_filename": "PMS NOV 2024 REPORT.xlsx",
|
| 51 |
+
"resource_format": "XLSX",
|
| 52 |
+
"resource_id": "nbs-nada-157-1129",
|
| 53 |
+
"resource_last_modified": "2026-03-25T11:32:08+00:00",
|
| 54 |
+
"resource_mimetype": "",
|
| 55 |
+
"resource_name": "PMS November 2024 Tables",
|
| 56 |
+
"resource_position": "17",
|
| 57 |
+
"resource_url": "https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1129",
|
| 58 |
+
"source_catalog_id": "157",
|
| 59 |
+
"source_idno": "NGA-NBS-PMS",
|
| 60 |
+
"source_total_downloads": "1592627",
|
| 61 |
+
"source_total_views": "397266",
|
| 62 |
+
"tag_names": "document; PMS; Table [tbl]; Other Materials"
|
| 63 |
+
},
|
| 64 |
+
"year_max": 2024,
|
| 65 |
+
"year_min": 2023
|
| 66 |
+
}
|