Olaroti commited on
Commit
e2aeb10
·
verified ·
1 Parent(s): 6bee3fb

Standardize Electric Sheep Africa dataset card

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