Olaroti commited on
Commit
94b6b9a
·
verified ·
1 Parent(s): 638e313

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +137 -67
README.md CHANGED
@@ -5,82 +5,109 @@ language:
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
- multilinguality: monolingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
- - tabular
13
- - zip
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 - 2024-2025 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
25
 
26
  ![rows](https://img.shields.io/badge/rows-116-blue)
27
  ![countries](https://img.shields.io/badge/countries-1-green)
28
- ![years](https://img.shields.io/badge/years-2024-2025-orange)
29
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
30
  ![license](https://img.shields.io/badge/license-other-lightgrey)
31
 
32
  ## TL;DR
33
 
34
- This dataset packages one official `ZIP` 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 Report October 2025](https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1314)
43
- - **Format:** `ZIP`
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 | 2024 | 2025 | `Nigeria` |
54
 
55
- ## Indicators or Resource Contents
56
 
57
- - `premium-motor-spirit-petrol-price-watch-f2e4bfeb` - 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-f2e4bfeb` |
64
  | `indicator_name` | `string` | Human-readable indicator name. | `Premium Motor Spirit (Petrol) Price Watch` |
65
- | `country_iso3` | `string` | ISO3 country code. | `NGA` |
66
- | `country_name` | `string` | Country name. | `Nigeria` |
67
- | `year` | `Int64` | Observation year. | `2024` |
68
- | `value` | `float64` | Numeric observation value. | `1278.125` |
69
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
70
- | `dimension_state` | `string` | Source dimension. | `Abia` |
71
- | `dimension_zone` | `string` | Source dimension. | `South East` |
72
- | `dimension_average_price` | `string` | Source dimension. | `1047.1551516190477` |
73
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2025` |
74
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2025` |
75
- | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `2025` |
76
  | `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Nigeria` |
77
- | `source_dataset` | `string` | Source package title. | `Premium Motor Spirit (Petrol) Price Watch` |
78
- | `source_resource` | `string` | Source resource title. | `PMS Report October 2025` |
79
- | `source_package_id` | `string` | CKAN package UUID. | `NGA-NBS-PMS` |
80
- | `source_resource_id` | `string` | CKAN resource UUID. | `nbs-nada-157-1314` |
81
- | `source_url` | `string` | Original source resource URL. | `https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/131` |
82
  | `license_id` | `string` | Source license identifier. | `other-open` |
83
- | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-19T04:13:01Z` |
84
 
85
  ## Usage
86
 
@@ -92,51 +119,94 @@ df = ds["train"].to_pandas()
92
  print(df.head())
93
  ```
94
 
95
- ### Filter to one country
96
 
97
  ```python
98
- sample_country = df[df["country_iso3"] == "NGA"]
 
99
  ```
100
 
101
- ### Work with indicators
102
 
103
  ```python
104
- if "indicator_id" in df.columns:
105
- print(df["indicator_id"].value_counts().head())
106
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
107
  ```
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  ## Citation
110
 
111
  ```bibtex
112
  @misc{electric_sheep_africa_africa_nigeria_premium_motor_spirit_petrol_price_watch_f2e4bfeb_2025,
113
- title = {Premium Motor Spirit (Petrol) Price Watch | Africa (Nigeria official open data)},
114
  author = {National Bureau of Statistics, Nigeria},
115
  year = {2025},
116
  url = {https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials},
117
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
118
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-f2e4bfeb}}
119
  }
120
  ```
121
 
122
  ## License
123
 
124
- Released under [Other open license]().
125
-
126
- Original data (c) National Bureau of Statistics, Nigeria. When using this dataset, please cite both the
127
- original source above and the Electric Sheep Africa repackaging.
128
 
129
- ## About Electric Sheep
 
 
130
 
131
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
132
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
133
- open sources, normalize the schemas, package as Parquet, and publish with
134
- consistent dataset cards so researchers and developers can use `load_dataset()`
135
- to start working in seconds.
136
 
137
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
138
 
139
  ---
140
 
141
- Provenance: ingested 2026-07-19 via the Electric Sheep pipeline. Source URL:
142
- https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1314
 
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "nigeria"
17
+ - "national-bureau-of-statistics-nigeria"
18
+ - "economics"
19
+ - "national-economy"
20
+ - "pms-report-october-2025"
21
+ - "pms-report-october-2025-zip"
22
+ - "0"
23
+ - "document"
24
+ - "pms"
25
+ - "report-doc"
26
+ configs:
27
+ - config_name: default
28
+ data_files:
29
+ - split: train
30
+ path: data/train-00000-of-00001.parquet
31
+ pretty_name: "Premium Motor Spirit Petrol Price Watch | Africa (National Bureau of Statistics, Nigeria)"
32
  ---
33
 
34
+ # Premium Motor Spirit Petrol Price Watch | Africa (National Bureau of Statistics, Nigeria)
35
 
36
+ **116 rows** - **1 Africa country/area** - **2024-2025** - **1 indicator** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
37
 
38
  ![rows](https://img.shields.io/badge/rows-116-blue)
39
  ![countries](https://img.shields.io/badge/countries-1-green)
40
+ ![period](https://img.shields.io/badge/period-2024--2025-orange)
41
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
42
  ![license](https://img.shields.io/badge/license-other-lightgrey)
43
 
44
  ## TL;DR
45
 
46
+ This dataset contains **116 rows** from **National Bureau of Statistics, Nigeria**, covering **Premium Motor Spirit Petrol Price Watch**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
47
 
48
+ ## What This Dataset Measures
49
 
50
+ Economic datasets help analysts examine production, prices, public finance, trade flows, market conditions, and macroeconomic change.
51
+
52
+ Source-provided context: Document, Report [doc/rep]
53
+
54
+ ## How To Read This Dataset
55
+
56
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
57
+ - **Primary geography column:** `country_iso3`.
58
+ - **Best time column:** `year`.
59
+ - **Time coverage basis:** year.
60
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
61
+
62
+ ## Coverage
63
+
64
+ | Dimension | Value |
65
+ |---|---:|
66
+ | Rows | 116 |
67
+ | Countries/areas | 1 |
68
+ | First period | 2024 |
69
+ | Last period | 2025 |
70
+ | Indicators | 1 |
71
+ | Columns | 21 |
72
+ | Source format | ZIP |
73
 
74
+ ## Geographic Coverage
75
 
76
+ Top areas shown below, sorted by row count when available:
77
 
78
+ | Area | Rows | First year | Last year | Name |
79
+ |------|-----:|-----------:|----------:|------|
80
  | `NGA` | 116 | 2024 | 2025 | `Nigeria` |
81
 
82
+ ## Indicators, Variables, Or Resource Contents
83
 
84
+ - `premium-motor-spirit-petrol-price-watch-f2e4bfeb` - Premium Motor Spirit (Petrol) Price Watch(source_units_unspecified)
85
 
86
  ## Schema
87
 
88
  | Column | Type | Description | Example |
89
  |--------|------|-------------|---------|
90
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `premium-motor-spirit-petrol-price-watch-f2e4bfeb` |
91
  | `indicator_name` | `string` | Human-readable indicator name. | `Premium Motor Spirit (Petrol) Price Watch` |
92
+ | `country_iso3` | `string` | ISO3 country or area code. | `NGA` |
93
+ | `country_name` | `string` | Country or area name. | `Nigeria` |
94
+ | `year` | `int64` | Observation year. | `2024` |
95
+ | `value` | `double` | Numeric observation value. | `1278.125` |
96
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
97
+ | `dimension_state` | `string` | Source dimension retained during long-form normalization. | `Abia` |
98
+ | `dimension_zone` | `string` | Source dimension retained during long-form normalization. | `South East` |
99
+ | `dimension_average_price` | `string` | Source dimension retained during long-form normalization. | `1047.1551516190477` |
100
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2025` |
101
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2025` |
102
+ | `source_period_label` | `string` | Source column from the original resource. | `2025` |
103
  | `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Nigeria` |
104
+ | `source_dataset` | `string` | Source dataset or package title. | `Premium Motor Spirit (Petrol) Price Watch` |
105
+ | `source_resource` | `string` | Source resource title, table name, or file name. | `PMS Report October 2025` |
106
+ | `source_package_id` | `string` | Source package identifier. | `NGA-NBS-PMS` |
107
+ | `source_resource_id` | `string` | Source resource identifier. | `nbs-nada-157-1314` |
108
+ | `source_url` | `string` | Original source URL or download URL. | `https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/...` |
109
  | `license_id` | `string` | Source license identifier. | `other-open` |
110
+ | `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-19T04:13:01Z` |
111
 
112
  ## Usage
113
 
 
119
  print(df.head())
120
  ```
121
 
122
+ ### Inspect Columns
123
 
124
  ```python
125
+ print(df.info())
126
+ print(df.head())
127
  ```
128
 
129
+ ### Filter By Geography
130
 
131
  ```python
132
+ if "country_iso3" in df.columns:
133
+ sample = df[df["country_iso3"] == "NGA"]
 
134
  ```
135
 
136
+ ### Time-Series Pattern
137
+
138
+ ```python
139
+ if "value" in df.columns and "year" in df.columns:
140
+ trend = df.sort_values("year")
141
+ ```
142
+
143
+ ### Pivot For Analysis
144
+
145
+ ```python
146
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
147
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
148
+ print(matrix.tail())
149
+ ```
150
+
151
+ ## Data Quality Notes
152
+
153
+ - Canonical time field: `year`.
154
+ - Missing values are preserved rather than silently imputed.
155
+ - Column names are standardized for machine use; source meanings are preserved where known.
156
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
157
+
158
+ ## Source And Provenance
159
+
160
+ - **Source:** [National Bureau of Statistics, Nigeria](https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials)
161
+ - **Publisher:** National Bureau of Statistics, Nigeria
162
+ - **Portal:** [https://microdata.nigerianstat.gov.ng](https://microdata.nigerianstat.gov.ng)
163
+ - **Resource:** [PMS Report October 2025](https://microdata.nigerianstat.gov.ng/index.php/catalog/157/download/1314)
164
+ - **License:** other-open
165
+ - **Retrieved/generated:** `2026-07-19T04:21:55Z`
166
+ - **Hugging Face repo:** [electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-f2e4bfeb](https://huggingface.co/datasets/electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-f2e4bfeb)
167
+
168
+ ## Transformations Applied
169
+
170
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
171
+ - Added or preserved source provenance columns where available.
172
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
173
+ - Preserved source-reported values without analytical imputation.
174
+
175
+ ## Suggested Analyses
176
+
177
+ - Build time-series dashboards
178
+ - Compare economic indicators
179
+ - Join with population or sector data
180
+ - Build time-series views and period-over-period comparisons
181
+ - Pivot to geography x period or indicator x period matrices
182
+ - Check missingness before modeling
183
+ - Use `country_iso3` as the safest geography join key when present
184
+
185
  ## Citation
186
 
187
  ```bibtex
188
  @misc{electric_sheep_africa_africa_nigeria_premium_motor_spirit_petrol_price_watch_f2e4bfeb_2025,
189
+ title = {Premium Motor Spirit Petrol Price Watch | Africa (National Bureau of Statistics, Nigeria)},
190
  author = {National Bureau of Statistics, Nigeria},
191
  year = {2025},
192
  url = {https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials},
193
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
194
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-nigeria-premium-motor-spirit-petrol-price-watch-f2e4bfeb}}
195
  }
196
  ```
197
 
198
  ## License
199
 
200
+ Released under other-open.
 
 
 
201
 
202
+ Original data is published by National Bureau of Statistics, Nigeria. Electric Sheep Africa
203
+ engineering standardizes the data for discovery, loading, and analysis on
204
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
205
 
206
+ ## About Electric Sheep Africa
 
 
 
 
207
 
208
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
209
 
210
  ---
211
 
212
+ Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://microdata.nigerianstat.gov.ng/index.php/catalog/157/related-materials