Kossisoroyce's picture
Upload README.md with huggingface_hub
d516eed verified
metadata
license: gpl
task_categories:
  - text-classification
  - tabular-classification
language:
  - en
tags:
  - retail
  - ecommerce
  - nigeria
  - synthetic-data
  - marketing-analytics
  - campaigns
size_categories:
  - 100K<n<1M
pretty_name: Coupon And Discount Usage Data

Coupon And Discount Usage Data

Dataset Description

Comprehensive coupon and discount usage data for Nigerian retail and e-commerce analysis

Dataset Information

  • Category: Sales and Transactions
  • Industry: Retail & E-Commerce
  • Country: Nigeria
  • Format: CSV, Parquet
  • Rows: 200,000
  • Columns: 10
  • Date Generated: 2025-10-06
  • Location: data/coupon_and_discount_usage_data/
  • License: GPL

Schema

Column Type Sample Values
coupon_id String CPN0000000
customer_id String CUST320824
coupon_code String SAVE47
discount_type String fixed_amount
discount_value Float 24630.72
usage_date String 2024-01-30
order_id String ORD2433560
campaign_name String Campaign_NewYear
channel String sms
redemption_status String redeemed

Sample Data

 coupon_id customer_id coupon_code   discount_type  discount_value usage_date   order_id    campaign_name           channel redemption_status
CPN0000000  CUST320824      SAVE47    fixed_amount        24630.72 2024-01-30 ORD2433560 Campaign_NewYear               sms          redeemed
CPN0000001  CUST378905      SAVE78     bundle_deal        29719.47 2024-06-03 ORD5097664  Campaign_Easter             email          redeemed
CPN0000002  CUST912642      SAVE45 buy_one_get_one         2451.63 2024-10-12 ORD5126302   Campaign_Flash push_notification            unused

Use Cases

  • Data analysis and insights
  • Machine learning model training
  • Business intelligence
  • Research and education
  • Predictive analytics

Nigerian Context

This dataset incorporates authentic Nigerian retail and e-commerce characteristics:

E-Commerce Platforms

  • Jumia (35% market share) - Leading marketplace
  • Konga (25% market share) - Major competitor
  • Jiji (20% market share) - Classifieds platform
  • PayPorte, Slot, and other platforms

Physical Retail

  • Shoprite, Spar, Game - Major supermarket chains
  • Slot, Pointek - Electronics retailers
  • Mr Price - Fashion retail
  • Traditional markets: Balogun Market, Computer Village

Payment Methods

  • Cash on Delivery (45%) - Most popular
  • Bank Transfer (25%)
  • Debit Card (15%)
  • USSD (8%)
  • Mobile Money (5%)
  • Credit Card (2%)

Logistics & Delivery

  • GIG Logistics - Nationwide coverage
  • Kwik Delivery - Fast urban delivery
  • DHL, FedEx - International and express
  • Red Star Express - Nationwide courier
  • Local dispatch riders

Geographic Coverage

Major Nigerian cities including:

  • Lagos - Commercial capital, highest retail density
  • Abuja - Federal capital, high e-commerce penetration
  • Kano - Northern commercial hub
  • Port Harcourt - Oil city, strong purchasing power
  • Ibadan - Large urban market
  • Plus 10+ other major cities

Products & Categories

  • Electronics: Tecno, Infinix, Samsung phones; laptops, TVs
  • Fashion: Ankara fabric, Agbada, Kaftan, sneakers
  • Groceries: Rice (50kg bags), Garri, Palm Oil, Indomie
  • Beauty: Shea butter, Black soap, hair extensions
  • Home: Generators, inverters, solar panels

Currency & Pricing

  • Currency: Nigerian Naira (NGN, ₦)
  • Exchange Rate: ~₦1,500/USD
  • Price Ranges: Realistic Nigerian market prices
  • Time Zone: West Africa Time (WAT, UTC+1)

File Formats

CSV

data/coupon_and_discount_usage_data/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data.csv

Parquet (Recommended)

data/coupon_and_discount_usage_data/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data.parquet

Nigerian Retail and E-Commerce - Loading the Dataset

Hugging Face Datasets

from datasets import load_dataset

# Load dataset
dataset = load_dataset("electricsheepafrica/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data")

# Convert to pandas
df = dataset['train'].to_pandas()

print(f"Loaded {len(df):,} rows")

Pandas (Direct)

import pandas as pd

# Load CSV
df = pd.read_csv('data/coupon_and_discount_usage_data/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data.csv')

# Load Parquet (recommended for large datasets)
df = pd.read_parquet('data/coupon_and_discount_usage_data/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data.parquet')

PyArrow

import pyarrow.parquet as pq

# Load Parquet
table = pq.read_table('data/coupon_and_discount_usage_data/nigerian_retail_and_ecommerce_coupon_and_discount_usage_data.parquet')
df = table.to_pandas()

Data Quality

  • βœ… Realistic Distributions: Based on Nigerian retail patterns
  • βœ… No Missing Critical Fields: Complete core data
  • βœ… Proper Data Types: Appropriate types for each column
  • βœ… Consistent Naming: Clear, descriptive column names
  • βœ… Nigerian Context: Authentic local characteristics
  • βœ… Production Scale: Suitable for real-world applications

Ethical Considerations

  • This is synthetic data generated for research and development
  • No real customer data or personally identifiable information
  • Designed to reflect realistic patterns without privacy concerns
  • Safe for public use, testing, and education

License

GPL License - General Public License

This dataset is free to use for:

  • Research and academic purposes
  • Commercial applications
  • Educational projects
  • Open source development

Citation

@dataset{nigerian_retail_coupon_and_discount_usage_data_2025,
  title={Coupon And Discount Usage Data},
  author={Electric Sheep Africa},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/electricsheepafrica/nigerian-retail-coupon-and-discount-usage-data}}
}

Related Datasets

This dataset is part of the Nigerian Retail & E-Commerce Datasets collection, which includes 42 datasets covering:

  • Customer & Shopper Data
  • Sales & Transactions
  • Product & Inventory
  • Marketing & Engagement
  • Operations & Workforce
  • Pricing & Revenue
  • Customer Support
  • Emerging & Advanced Technologies

Browse all datasets: https://huggingface.co/electricsheepafrica

Updates & Maintenance

  • Version: 1.0
  • Last Updated: 2025-10-06
  • Maintenance: Active
  • Issues: Report via Hugging Face discussions

Contact

For questions, feedback, or collaboration:

  • Hugging Face: electricsheepafrica
  • Issues: Open a discussion on the dataset page
  • General Inquiries: Via Hugging Face profile

Part of the Nigerian Industry Datasets Initiative
Building comprehensive, authentic datasets for African markets.