Olaroti commited on
Commit
c17c1f4
·
verified ·
1 Parent(s): 41302c6

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +94 -199
README.md CHANGED
@@ -1,249 +1,144 @@
1
  ---
2
- license: gpl
3
- task_categories:
4
- - tabular-classification
5
- - text-classification
6
  language:
7
  - en
8
- tags:
9
- - retail
10
- - ecommerce
11
- - nigeria
12
- - synthetic-data
13
- - inventory
14
- - supply-chain
15
- - synthetic
16
  size_categories:
17
  - 100K<n<1M
18
- pretty_name: Supply Chain Logistics Data
19
- data_type: synthetic
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ---
21
 
22
- > ⚠️ **Synthetic dataset** Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference.
23
 
24
- # Supply Chain Logistics Data
25
 
26
- ## Dataset Description
 
 
 
27
 
28
- Comprehensive supply chain logistics data for Nigerian retail and e-commerce analysis
29
 
30
- ## Dataset Information
31
 
32
- - **Category**: Product and Inventory
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
- ## Schema
43
 
44
- | Column | Type | Sample Values |
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
- ## Sample Data
60
 
61
- ```
62
- shipment_id product_id supplier_name origin_city destination_city ship_date expected_delivery_date actual_delivery_date quantity shipping_cost_ngn logistics_company delivery_status
63
- SHIP0000000 PRD81347 Supplier_B Abuja Warri 2024-03-23 2024-03-29 2024-03-27 828 18379.93 DHL Nigeria delayed
64
- SHIP0000001 PRD68757 Supplier_D Kano Jos 2024-06-10 2024-06-21 2024-06-20 329 91632.07 Fedex Nigeria delivered
65
- SHIP0000002 PRD34311 Supplier_E Lagos Port Harcourt 2024-10-15 2024-10-19 2024-10-18 203 77141.08 Ace Couriers delivered
66
- ```
67
-
68
- ## Use Cases
69
-
70
- - Data analysis and insights
71
- - Machine learning model training
72
- - Business intelligence
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
- ### Parquet (Recommended)
137
- ```
138
- data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.parquet
139
- ```
140
 
141
- ## Nigerian Retail and E-Commerce - Loading the Dataset
 
 
 
142
 
143
- ### Hugging Face Datasets
144
 
145
  ```python
146
  from datasets import load_dataset
147
 
148
- # Load dataset
149
- dataset = load_dataset("electricsheepafrica/nigerian_retail_and_ecommerce_supply_chain_logistics_data")
150
 
151
- # Convert to pandas
152
- df = dataset['train'].to_pandas()
153
-
154
- print(f"Loaded {len(df):,} rows")
155
  ```
156
 
157
- ### Pandas (Direct)
158
 
159
  ```python
160
- import pandas as pd
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
- # Load Parquet (recommended for large datasets)
166
- df = pd.read_parquet('data/supply_chain_logistics_data/nigerian_retail_and_ecommerce_supply_chain_logistics_data.parquet')
 
 
167
  ```
168
 
169
- ### PyArrow
170
 
171
- ```python
172
- import pyarrow.parquet as pq
 
 
173
 
174
- # Load Parquet
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
- ## Data Quality
 
 
 
 
180
 
181
- - **Realistic Distributions**: Based on Nigerian retail patterns
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
- ## Ethical Considerations
189
-
190
- - This is **synthetic data** generated for research and development
191
- - No real customer data or personally identifiable information
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
- @dataset{nigerian_retail_supply_chain_logistics_data_2025,
209
- title={Supply Chain Logistics Data},
210
- author={Electric Sheep Africa},
211
- year={2025},
212
- publisher={Hugging Face},
213
- howpublished={\url{https://huggingface.co/datasets/electricsheepafrica/nigerian-retail-supply-chain-logistics-data}}
 
214
  }
215
  ```
216
 
217
- ## Related Datasets
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
- ## Updates & Maintenance
233
 
234
- - **Version**: 1.0
235
- - **Last Updated**: 2025-10-06
236
- - **Maintenance**: Active
237
- - **Issues**: Report via Hugging Face discussions
238
 
239
- ## Contact
240
 
241
- For questions, feedback, or collaboration:
242
- - **Hugging Face**: electricsheepafrica
243
- - **Issues**: Open a discussion on the dataset page
244
- - **General Inquiries**: Via Hugging Face profile
245
 
246
  ---
247
 
248
- **Part of the Nigerian Industry Datasets Initiative**
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
+ ![size](https://img.shields.io/badge/size-100K%3Cn%3C1M-blue)
36
+ ![sector](https://img.shields.io/badge/sector-culture_language-green)
37
+ ![downloads](https://img.shields.io/badge/HF_downloads-35-orange)
38
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
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`.