Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -1,249 +1,144 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
task_categories:
|
| 4 |
-
- tabular-classification
|
| 5 |
-
- text-classification
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
- synthetic-data
|
| 13 |
-
- inventory
|
| 14 |
-
- supply-chain
|
| 15 |
-
- synthetic
|
| 16 |
size_categories:
|
| 17 |
- 100K<n<1M
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
| 33 |
-
- **Industry**: Retail & E-Commerce
|
| 34 |
-
- **Country**: Nigeria
|
| 35 |
-
- **Format**: CSV, Parquet
|
| 36 |
-
- **Rows**: 400,000
|
| 37 |
-
- **Columns**: 12
|
| 38 |
-
- **Date Generated**: 2025-10-06
|
| 39 |
-
- **Location**: `data/supply_chain_logistics_data/`
|
| 40 |
-
- **License**: GPL
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|--------|------|---------------|
|
| 46 |
-
| `shipment_id` | String | SHIP0000000 |
|
| 47 |
-
| `product_id` | String | PRD81347 |
|
| 48 |
-
| `supplier_name` | String | Supplier_B |
|
| 49 |
-
| `origin_city` | String | Abuja |
|
| 50 |
-
| `destination_city` | String | Warri |
|
| 51 |
-
| `ship_date` | String | 2024-03-23 |
|
| 52 |
-
| `expected_delivery_date` | String | 2024-03-29 |
|
| 53 |
-
| `actual_delivery_date` | String | 2024-03-27 |
|
| 54 |
-
| `quantity` | Integer | 828 |
|
| 55 |
-
| `shipping_cost_ngn` | Float | 18379.93 |
|
| 56 |
-
| `logistics_company` | String | DHL Nigeria |
|
| 57 |
-
| `delivery_status` | String | delayed |
|
| 58 |
|
| 59 |
-
##
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
```
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
- Research and education
|
| 74 |
-
- Predictive analytics
|
| 75 |
-
|
| 76 |
-
## Nigerian Context
|
| 77 |
-
|
| 78 |
-
This dataset incorporates authentic Nigerian retail and e-commerce characteristics:
|
| 79 |
-
|
| 80 |
-
### E-Commerce Platforms
|
| 81 |
-
- **Jumia** (35% market share) - Leading marketplace
|
| 82 |
-
- **Konga** (25% market share) - Major competitor
|
| 83 |
-
- **Jiji** (20% market share) - Classifieds platform
|
| 84 |
-
- PayPorte, Slot, and other platforms
|
| 85 |
-
|
| 86 |
-
### Physical Retail
|
| 87 |
-
- **Shoprite**, **Spar**, **Game** - Major supermarket chains
|
| 88 |
-
- **Slot**, **Pointek** - Electronics retailers
|
| 89 |
-
- **Mr Price** - Fashion retail
|
| 90 |
-
- Traditional markets: Balogun Market, Computer Village
|
| 91 |
-
|
| 92 |
-
### Payment Methods
|
| 93 |
-
- Cash on Delivery (45%) - Most popular
|
| 94 |
-
- Bank Transfer (25%)
|
| 95 |
-
- Debit Card (15%)
|
| 96 |
-
- USSD (8%)
|
| 97 |
-
- Mobile Money (5%)
|
| 98 |
-
- Credit Card (2%)
|
| 99 |
-
|
| 100 |
-
### Logistics & Delivery
|
| 101 |
-
- **GIG Logistics** - Nationwide coverage
|
| 102 |
-
- **Kwik Delivery** - Fast urban delivery
|
| 103 |
-
- **DHL**, **FedEx** - International and express
|
| 104 |
-
- **Red Star Express** - Nationwide courier
|
| 105 |
-
- Local dispatch riders
|
| 106 |
-
|
| 107 |
-
### Geographic Coverage
|
| 108 |
-
Major Nigerian cities including:
|
| 109 |
-
- **Lagos** - Commercial capital, highest retail density
|
| 110 |
-
- **Abuja** - Federal capital, high e-commerce penetration
|
| 111 |
-
- **Kano** - Northern commercial hub
|
| 112 |
-
- **Port Harcourt** - Oil city, strong purchasing power
|
| 113 |
-
- **Ibadan** - Large urban market
|
| 114 |
-
- Plus 10+ other major cities
|
| 115 |
-
|
| 116 |
-
### Products & Categories
|
| 117 |
-
- **Electronics**: Tecno, Infinix, Samsung phones; laptops, TVs
|
| 118 |
-
- **Fashion**: Ankara fabric, Agbada, Kaftan, sneakers
|
| 119 |
-
- **Groceries**: Rice (50kg bags), Garri, Palm Oil, Indomie
|
| 120 |
-
- **Beauty**: Shea butter, Black soap, hair extensions
|
| 121 |
-
- **Home**: Generators, inverters, solar panels
|
| 122 |
-
|
| 123 |
-
### Currency & Pricing
|
| 124 |
-
- **Currency**: Nigerian Naira (NGN, ₦)
|
| 125 |
-
- **Exchange Rate**: ~₦1,500/USD
|
| 126 |
-
- **Price Ranges**: Realistic Nigerian market prices
|
| 127 |
-
- **Time Zone**: West Africa Time (WAT, UTC+1)
|
| 128 |
-
|
| 129 |
-
## File Formats
|
| 130 |
-
|
| 131 |
-
### CSV
|
| 132 |
-
```
|
| 133 |
-
data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.csv
|
| 134 |
-
```
|
| 135 |
|
| 136 |
-
##
|
| 137 |
-
```
|
| 138 |
-
data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.parquet
|
| 139 |
-
```
|
| 140 |
|
| 141 |
-
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
-
##
|
| 144 |
|
| 145 |
```python
|
| 146 |
from datasets import load_dataset
|
| 147 |
|
| 148 |
-
|
| 149 |
-
|
| 150 |
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
print(
|
| 155 |
```
|
| 156 |
|
| 157 |
-
### Pandas
|
| 158 |
|
| 159 |
```python
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
# Load CSV
|
| 163 |
-
df = pd.read_csv('data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.csv')
|
| 164 |
|
| 165 |
-
|
| 166 |
-
|
|
|
|
|
|
|
| 167 |
```
|
| 168 |
|
| 169 |
-
##
|
| 170 |
|
| 171 |
-
|
| 172 |
-
|
|
|
|
|
|
|
| 173 |
|
| 174 |
-
#
|
| 175 |
-
table = pq.read_table('data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.parquet')
|
| 176 |
-
df = table.to_pandas()
|
| 177 |
-
```
|
| 178 |
|
| 179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
|
| 181 |
-
|
| 182 |
-
- ✅ **No Missing Critical Fields**: Complete core data
|
| 183 |
-
- ✅ **Proper Data Types**: Appropriate types for each column
|
| 184 |
-
- ✅ **Consistent Naming**: Clear, descriptive column names
|
| 185 |
-
- ✅ **Nigerian Context**: Authentic local characteristics
|
| 186 |
-
- ✅ **Production Scale**: Suitable for real-world applications
|
| 187 |
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
-
|
| 191 |
-
-
|
| 192 |
-
- Designed to reflect realistic patterns without privacy concerns
|
| 193 |
-
- Safe for public use, testing, and education
|
| 194 |
-
|
| 195 |
-
## License
|
| 196 |
-
|
| 197 |
-
**GPL License** - General Public License
|
| 198 |
-
|
| 199 |
-
This dataset is free to use for:
|
| 200 |
-
- Research and academic purposes
|
| 201 |
-
- Commercial applications
|
| 202 |
-
- Educational projects
|
| 203 |
-
- Open source development
|
| 204 |
|
| 205 |
## Citation
|
| 206 |
|
| 207 |
```bibtex
|
| 208 |
-
@
|
| 209 |
-
title={Supply Chain Logistics Data},
|
| 210 |
-
author={
|
| 211 |
-
year={
|
| 212 |
-
|
| 213 |
-
|
|
|
|
| 214 |
}
|
| 215 |
```
|
| 216 |
|
| 217 |
-
##
|
| 218 |
-
|
| 219 |
-
This dataset is part of the **Nigerian Retail & E-Commerce Datasets** collection, which includes 42 datasets covering:
|
| 220 |
-
|
| 221 |
-
- Customer & Shopper Data
|
| 222 |
-
- Sales & Transactions
|
| 223 |
-
- Product & Inventory
|
| 224 |
-
- Marketing & Engagement
|
| 225 |
-
- Operations & Workforce
|
| 226 |
-
- Pricing & Revenue
|
| 227 |
-
- Customer Support
|
| 228 |
-
- Emerging & Advanced Technologies
|
| 229 |
-
|
| 230 |
-
**Browse all datasets**: https://huggingface.co/electricsheepafrica
|
| 231 |
|
| 232 |
-
|
| 233 |
|
| 234 |
-
|
| 235 |
-
- **Last Updated**: 2025-10-06
|
| 236 |
-
- **Maintenance**: Active
|
| 237 |
-
- **Issues**: Report via Hugging Face discussions
|
| 238 |
|
| 239 |
-
##
|
| 240 |
|
| 241 |
-
|
| 242 |
-
- **Hugging Face**: electricsheepafrica
|
| 243 |
-
- **Issues**: Open a discussion on the dataset page
|
| 244 |
-
- **General Inquiries**: Via Hugging Face profile
|
| 245 |
|
| 246 |
---
|
| 247 |
|
| 248 |
-
|
| 249 |
-
Building comprehensive, authentic datasets for African markets.
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
|
|
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- tabular-regression
|
| 8 |
+
multilinguality: monolingual
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
size_categories:
|
| 10 |
- 100K<n<1M
|
| 11 |
+
tags:
|
| 12 |
+
- "africa"
|
| 13 |
+
- "electric-sheep-africa"
|
| 14 |
+
- "open-data"
|
| 15 |
+
- "metadata-backed"
|
| 16 |
+
- "culture-language"
|
| 17 |
+
- "parquet"
|
| 18 |
+
- "tabular"
|
| 19 |
+
- "text"
|
| 20 |
+
- "retail"
|
| 21 |
+
- "ecommerce"
|
| 22 |
+
- "nigeria"
|
| 23 |
+
- "synthetic-data"
|
| 24 |
+
- "inventory"
|
| 25 |
+
- "supply-chain"
|
| 26 |
+
- "synthetic"
|
| 27 |
+
- "literature"
|
| 28 |
+
pretty_name: "Supply Chain Logistics Data | Africa (Electric Sheep Africa metadata inventory)"
|
| 29 |
---
|
| 30 |
|
| 31 |
+
# Supply Chain Logistics Data | Africa (Electric Sheep Africa metadata inventory)
|
| 32 |
|
| 33 |
+
**Size category:** `100K<n<1M` - **Formats:** `parquet` - **Sector:** culture_language - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 34 |
|
| 35 |
+

|
| 36 |
+

|
| 37 |
+

|
| 38 |
+

|
| 39 |
|
| 40 |
+
## TL;DR
|
| 41 |
|
| 42 |
+
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.
|
| 43 |
|
| 44 |
+
## What This Dataset Covers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
|
| 47 |
|
| 48 |
+
Dataset context from the existing Hugging Face card: ⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference. Supply Chain Logistics Data Dataset Description Comprehensive supply chain logistics data for Nigerian retail and e-commerce analysis Dataset Information Category: Product and Inventory Industry: Retail & E-Commerce Country: Nigeria Format: CSV, Parquet Rows: 400,000 Columns: 12 Date Generated: 2025-10-06… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
+
## Dataset Profile
|
| 51 |
|
| 52 |
+
| Field | Value |
|
| 53 |
+
|---|---|
|
| 54 |
+
| Hugging Face repo | [`electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria`](https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria) |
|
| 55 |
+
| Sector | culture_language |
|
| 56 |
+
| Topic tags | retail, ecommerce, nigeria, synthetic-data, inventory, supply-chain, synthetic |
|
| 57 |
+
| Modalities | `tabular`, `text` |
|
| 58 |
+
| Formats | `parquet` |
|
| 59 |
+
| Size category | `100K<n<1M` |
|
| 60 |
+
| Countries | Nigeria |
|
| 61 |
+
| ISO3 coverage | `NGA` |
|
| 62 |
+
| Last modified on HF | `2026-04-14 22:19:19+00:00` |
|
| 63 |
+
| Inventory snapshot | `2026-07-16T16:00:34Z` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
## How To Read This Dataset
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
+
- Start from the repository files and the dataset viewer when available.
|
| 68 |
+
- Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
|
| 69 |
+
- Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
|
| 70 |
+
- Preserve missing values until you have a defensible imputation rule.
|
| 71 |
|
| 72 |
+
## Usage
|
| 73 |
|
| 74 |
```python
|
| 75 |
from datasets import load_dataset
|
| 76 |
|
| 77 |
+
ds = load_dataset("electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria")
|
| 78 |
+
print(ds)
|
| 79 |
|
| 80 |
+
split_name = next(iter(ds))
|
| 81 |
+
table = ds[split_name]
|
| 82 |
+
print(table.features)
|
| 83 |
+
print(table[:3])
|
| 84 |
```
|
| 85 |
|
| 86 |
+
### Convert To Pandas When Tabular
|
| 87 |
|
| 88 |
```python
|
| 89 |
+
from datasets import Dataset
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
+
first_split = ds[next(iter(ds))]
|
| 92 |
+
if isinstance(first_split, Dataset):
|
| 93 |
+
df = first_split.to_pandas()
|
| 94 |
+
print(df.head())
|
| 95 |
```
|
| 96 |
|
| 97 |
+
## Data Quality Notes
|
| 98 |
|
| 99 |
+
- This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
|
| 100 |
+
- Exact schema, row counts, and source files should be inspected in the repository data files.
|
| 101 |
+
- Metadata gaps from the inventory: upstream_publisher.
|
| 102 |
+
- Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
|
| 103 |
|
| 104 |
+
## Source And Provenance
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
+
- **Source context:** Electric Sheep Africa metadata inventory
|
| 107 |
+
- **Publisher/source attribution:** Public dataset metadata
|
| 108 |
+
- **License:** gpl
|
| 109 |
+
- **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria](https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria)
|
| 110 |
+
- **Inventory retrieved at:** `2026-07-16T16:00:34Z`
|
| 111 |
|
| 112 |
+
## Suggested Analyses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
+
- Inspect schema and missingness before modeling.
|
| 115 |
+
- Profile variables by geography, time, and subgroup columns where present.
|
| 116 |
+
- Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
|
| 117 |
+
- Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
## Citation
|
| 120 |
|
| 121 |
```bibtex
|
| 122 |
+
@misc{electric_sheep_africa_africa_synth_retail_and_ecommerce_supply_chain_logistics_data_nigeria_2026,
|
| 123 |
+
title = {Supply Chain Logistics Data | Africa (Electric Sheep Africa metadata inventory)},
|
| 124 |
+
author = {Public dataset metadata},
|
| 125 |
+
year = {2026},
|
| 126 |
+
url = {https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria},
|
| 127 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 128 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-synth-retail-and-ecommerce-supply-chain-logistics-data-nigeria}}
|
| 129 |
}
|
| 130 |
```
|
| 131 |
|
| 132 |
+
## License
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
Released under gpl.
|
| 135 |
|
| 136 |
+
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.
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
+
## About Electric Sheep Africa
|
| 139 |
|
| 140 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
|
|
|
|
|
|
|
|
|
| 141 |
|
| 142 |
---
|
| 143 |
|
| 144 |
+
Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.
|
|
|