Olaroti commited on
Commit
f4d2760
·
verified ·
1 Parent(s): 5001a33

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +133 -43
README.md CHANGED
@@ -1,52 +1,142 @@
1
-
2
  ---
3
- license: gpl
4
- dataset_name: nigerian_energy_and_utilities_retail_tariffs
5
- pretty_name: Nigerian Energy & Utilities – Retail Tariffs
6
- size_categories: [10K<n<1M, 1M<n<10M]
7
- task_categories: [time-series-forecasting, tabular-regression, other]
8
- tags: [nigeria, energy, utilities, power, grid, smart-meter, renewables]
9
- language: [en]
10
- created: 2025-10-11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
 
 
 
 
 
 
 
 
 
 
13
 
14
- # Nigerian Energy & Utilities – Retail Tariffs
15
 
16
- Retail tariff schedules by band, class, hour (TOU).
17
 
18
- - **[category]** Market & Pricing
19
- - **[rows]** ~90,000
20
- - **[formats]** CSV + Parquet (snappy)
21
- - **[geography]** Nigeria (DisCos, substations, plants)
22
 
23
- ## Schema
24
 
25
- | column | dtype |
 
 
26
  |---|---|
27
- | as_of_date | object |
28
- | disco | object |
29
- | customer_class | object |
30
- | tariff_band | object |
31
- | hour | int64 |
32
- | price_ngn_kwh | float64 |
33
-
34
- ## Usage
35
-
36
- ```python
37
- import pandas as pd
38
- df = pd.read_parquet('data/nigerian_energy_and_utilities_retail_tariffs/nigerian_energy_and_utilities_retail_tariffs.parquet')
39
- df.head()
40
- ```
41
-
42
- ```python
43
- from datasets import load_dataset
44
- ds = load_dataset('electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs')
45
- ds
46
- ```
47
-
48
- ## Notes
49
-
50
- - Data generated with Nigeria-specific parameters (DisCos, tariff bands, 50 Hz grid)
51
- - Time-of-use shapes and seasonal/weather effects included where applicable
52
- - Values are internally consistent (e.g., kWh ~ kW*h; voltage/current ~ power)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "energy"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "nigeria"
21
+ - "utilities"
22
+ - "power"
23
+ - "grid"
24
+ - "smart-meter"
25
+ - "renewables"
26
+ pretty_name: "Nigerian Energy & Utilities – Retail Tariffs | Africa (Electric Sheep Africa metadata inventory)"
27
  ---
28
 
29
+ # Nigerian Energy & Utilities – Retail Tariffs | Africa (Electric Sheep Africa metadata inventory)
30
+
31
+ **Size category:** `10K<n<100K` - **Formats:** `parquet` - **Sector:** energy - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
+
33
+ ![size](https://img.shields.io/badge/size-10K%3Cn%3C100K-blue)
34
+ ![sector](https://img.shields.io/badge/sector-energy-green)
35
+ ![downloads](https://img.shields.io/badge/HF_downloads-10-orange)
36
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
37
+
38
+ ## TL;DR
39
 
40
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
41
 
42
+ ## What This Dataset Covers
43
 
44
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
 
 
 
45
 
46
+ Dataset context from the existing Hugging Face card: # Nigerian Energy & Utilities – Retail Tariffs Retail tariff schedules by band, class, hour (TOU). - **[category]** Market & Pricing - **[rows]** ~90,000 - **[formats]** CSV + Parquet (snappy) - **[geography]** Nigeria (DisCos, substations, plants) ## Schema | column | dtype | |---|---| | as_of_date | object | | disco | object | | customer_class | object | | tariff_band | object | | hour | int64 | | price_ngn_kwh | float64 | ## Usage ```python import pandas as pd df =… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs.
47
 
48
+ ## Dataset Profile
49
+
50
+ | Field | Value |
51
  |---|---|
52
+ | Hugging Face repo | [`electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs`](https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs) |
53
+ | Sector | energy |
54
+ | Topic tags | nigeria, energy, utilities, power, grid, smart-meter, renewables |
55
+ | Modalities | `tabular`, `text` |
56
+ | Formats | `parquet` |
57
+ | Size category | `10K<n<100K` |
58
+ | Countries | Nigeria |
59
+ | ISO3 coverage | `NGA` |
60
+ | Last modified on HF | `2025-10-11 18:13:24+00:00` |
61
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
62
+
63
+ ## How To Read This Dataset
64
+
65
+ - Start from the repository files and the dataset viewer when available.
66
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
67
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
68
+ - Preserve missing values until you have a defensible imputation rule.
69
+
70
+ ## Usage
71
+
72
+ ```python
73
+ from datasets import load_dataset
74
+
75
+ ds = load_dataset("electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs")
76
+ print(ds)
77
+
78
+ split_name = next(iter(ds))
79
+ table = ds[split_name]
80
+ print(table.features)
81
+ print(table[:3])
82
+ ```
83
+
84
+ ### Convert To Pandas When Tabular
85
+
86
+ ```python
87
+ from datasets import Dataset
88
+
89
+ first_split = ds[next(iter(ds))]
90
+ if isinstance(first_split, Dataset):
91
+ df = first_split.to_pandas()
92
+ print(df.head())
93
+ ```
94
+
95
+ ## Data Quality Notes
96
+
97
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
98
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
99
+ - Metadata gaps from the inventory: upstream_publisher.
100
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
101
+
102
+ ## Source And Provenance
103
+
104
+ - **Source context:** Electric Sheep Africa metadata inventory
105
+ - **Publisher/source attribution:** Public dataset metadata
106
+ - **License:** gpl
107
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs](https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs)
108
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
109
+
110
+ ## Suggested Analyses
111
+
112
+ - Inspect schema and missingness before modeling.
113
+ - Profile variables by geography, time, and subgroup columns where present.
114
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
115
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
116
+
117
+ ## Citation
118
+
119
+ ```bibtex
120
+ @misc{electric_sheep_africa_nigerian_energy_and_utilities_retail_tariffs_2026,
121
+ title = {Nigerian Energy & Utilities – Retail Tariffs | Africa (Electric Sheep Africa metadata inventory)},
122
+ author = {Public dataset metadata},
123
+ year = {2026},
124
+ url = {https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs},
125
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/nigerian_energy_and_utilities_retail_tariffs}}
127
+ }
128
+ ```
129
+
130
+ ## License
131
+
132
+ Released under gpl.
133
+
134
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
135
+
136
+ ## About Electric Sheep Africa
137
+
138
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
139
+
140
+ ---
141
+
142
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.