bitsnaps's picture
docs: declare explicit viewer configs (marketplace/retail)
81561d7 verified
|
Raw History Blame Contribute Delete
3.07 kB
---
title: DZ Smartphone Pricing (Algeria)
tags:
- tabular-data
- pricing
- algeria
- smartphones
- regression
license: cc-by-4.0
# Viewer configs: two flat parquet files, one config each (keeps the
# auto-viewer from concatenating them into one null-padded table)
configs:
- config_name: marketplace_listings
data_files:
- split: train
path: marketplace_listings.parquet
- config_name: retail_listings
data_files:
- split: train
path: retail_listings.parquet
---
# DZ Smartphone Pricing (Algeria)
Cleaned listings data for the Algerian smartphone market (new & second-hand),
published alongside the **DZ Phone Value** price estimator. Collected from
multiple public sources; individual marketplaces are intentionally not attributed.
| File | Rows | Description |
|------|------|-------------|
| `marketplace_listings.parquet` | 20,585 | Cleaned C2C/M2C ad listings with condition, battery, damage, accessories, region and the engineered signal columns |
| `retail_listings.parquet` | 1,008 | Retail storefront prices for new devices (2026-09-22 snapshot), normalized to the same brand/tier/storage vocabulary |
## `marketplace_listings.parquet`
One row per cleaned listing. The canonical `title` is English; `title_raw`
keeps the original wording. Privacy scrubbing applied: no listing ids, no URLs,
no seller contacts (phone numbers / emails masked), no marketplace names.
**Listing core:** `title`, `title_raw`, `description`, `price_dzd`, `category`,
`brand`, `model_line`, `storage_gb`, `ram_gb`, `color`, `condition`,
`battery_pct`, `city`, `region`, `listing_date`, `status`, `priceType`,
`price_flag`, `multi_item`
**Engineered signals** (mined from title/description by the project's pipeline —
these feed the model's 48-feature matrix): `storage_gb_final`, `ram_gb_final`,
`variant_tier`, `is_5g`, `dual_sim`, `screen_in`, `chipset`, `acc_charger`,
`acc_box`, `acc_case`, `acc_count`, `battery_health_final`, `launch_year`,
`model_age_years`, `repost_count`, `desc_condition`, `desc_condition_score`,
`desc_warranty_months`, `desc_damage`, `desc_original_parts`,
`desc_battery_replaced`, `desc_import`, `desc_shop`
Notes:
- `price_dzd` keeps the raw listed price — junk rows (`price_flag` documents
which rows passed the sanity filters) are part of the record, mirroring the
raw marketplace.
- The production model trains on the subset:
`category=phone`, `price_flag=ok`, `multi_item=0`, `price_dzd>=2000`,
`condition` known and not `unknown` → 8,611 rows.
## `retail_listings.parquet`
`source` (single neutral `retail` label), `collected_date`, `brand`,
`model_line`, `tier`, `storage_gb`, `ram_gb`, `price_dzd`, `condition`,
`condition_raw`, `is_5g`, `dual_sim`, `launch_year`.
## Intended use
- Reproducing / extending the DZ Phone Value price model
- Studying the Algerian second-hand phone market
## Citation
```bibtex
@dataset{dz_smartphone_pricing_2026,
title = {DZ Smartphone Pricing (Algeria)},
year = {2026},
url = {https://huggingface.co/datasets/bitsnaps/dz-smartphone-pricing}
}
```