v5.21: 144,452 fragrances (+597), full refresh, brand identity continuity, refreshed reviews and news
Browse files538 unmodified lines539540541542543544545546547548549550197 unmodified lines748749750751752753754755106 unmodified lines86286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789859 unmodified lines95895996096196296396496596696796896997097140 unmodified lines1012101310141015101610171018538 unmodified linesdtype: string---# FragDB v5.20 — Fragrance Database (Multilingual Sample)The most comprehensive structured fragrance database available. This is a **free sample** of FragDB: **143,855 perfumes, 23 languages** — 10-row CSV samples at root.Full dataset: [fragdb.net](https://fragdb.net).## What's New in v5.20- **Data updated** from v5.19 → v5.20 (snapshot 2026-11-01):197 unmodified lines## Snapshot freshness- **Data refreshed**: 2026-11-01 (v5.20) — an incremental update: the 1,179 fragrances new at the source were added on 2026-11-01; the existing records are carried over from v5.19 (as captured on 2026-10-08, and on 2026-10-19 for the 1,135 added in v5.19)- **Reviews, news, news comments** (parquet): refreshed in this release — latest review 2026-10-31, latest article 2026-10-29, latest news comment 2026-11-01## Data API — per-record access106 unmodified linesThe world's largest collection of structured fragrance reviews. Every entry includes the perfume ID (joinable with `fragrances.csv`), author username, posting date, full review text, avatar URL, and language code.- **5,026,322 user reviews** covering every major perfume in the database- **23 languages** — English (1.91M), Russian, Portuguese, Spanish, Korean, Turkish, Japanese, Polish, Italian, Hungarian, Serbian, Swedish, German, Hebrew, Ukrainian, French, Arabic, Greek, Czech, Chinese, Romanian, Mongolian, Dutch- **Coverage:** 68.3% of all fragrances have at least one review (98,276 of 143,855 PIDs)- **Deterministic global primary key** — stable comment IDs survive re-scrapes- **Zero duplicate rows**; every `pid` joins `fragrances.csv` except 62 reviews (0.001%) on 12 perfumes no longer in the catalogue- **Independent UGC per language** — genuine localized content, not machine translation- **8 fields:** `pid`, `lang`, `comment_id`, `author`, `date`, `text`, `avatar_url`, `gradient_class`- **PyArrow large_string format** — combined corpus exceeds 32-bit string offset limit**Use cases:** sentiment analysis · review classification · recommendation systems · perfume similarity from text · language detection benchmark · multilingual NLP training corpus · fragrance market research · author network analysis · trend detection by language### `news.parquet` — 25,981 Editorial Articles (2008–2026)Two decades of professional fragrance journalism. Every article includes title, author, full text (plain + HTML), category, related perfumes/brands/perfumers, publication date, and main image.- **25,981 editorial articles** from 2008 to 2026 — complete public archive- **30+ categories** — New Fragrances (33.9%), Fragrance Reviews (24.1%), Niche Perfumery (10.1%), Designer Brands, Interviews, History, Industry News- **Bilingual storage** — `text` (plain) for NLP, `text_html` (markup preserved) for rich display- **Linked entities** — `related_pids[]`, `related_brands[]`, `related_perfumers[]` as JSON arrays- **127,609 PID references** — all but 177 (0.14%) resolve; those point to perfumes no longer in the catalogue- **59.5% archived legacy, 40.5% modern** articles, all dated except 27 of the 30 newest (NID 26,464 and above)- **16 fields:** `nid`, `title`, `category`, `author`, `url`, `is_archived`, `date_unix`, `description`, `text`, `text_html`, `main_image`, `article_images`, `related_pids`, `related_brands`, `related_perfumers`, `comments_count`**Use cases:** content recommendation · article search engine · perfume knowledge graph · trend analysis · author influence study · entity linking · timeline analysis · industry research · niche perfumery research### `news_comments.parquet` — 280,874 Threaded Community CommentsCommunity discussions attached to editorial articles, with threading support for replies. Joinable with `news.parquet` via `nid`.- **280,874 threaded comments** across **23,215 articles** (89.4% of news articles have ≥1 comment)- **5.6% reply rate** — threaded conversations with reply detection- **100% populated timestamps**- **9 fields:** `nid`, `comment_id`, `is_reply`, `author`, `date`, `date_unix`, `text`, `avatar_url`, `gradient`59 unmodified lines| | Sample | Full Database ||---|--------|---------------|| Fragrances | 10 | **143,855** || Brands | 10 | **8,501** || Perfumers | 10 | **3,198** || Notes | 10 | **2,626** || Accords | 10 | **92** || Translations | 34 | **34** || Languages | 23 | **23** || **Total Records** | ~84 | **158,306** |## Quick Start40 unmodified linestitle={FragDB Fragrance Database},author={FragDB},year={2026},version={5.18},url={https://fragdb.net},note={Multilingual dataset with 6 files, 23 languages}}538 unmodified lines539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580197 unmodified lines778779780781782783784785106 unmodified lines89289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792859 unmodified lines9889899909919929939949959969979989991000100140 unmodified lines1042104310441045104610471048538 unmodified linesdtype: string---# FragDB v5.21 — Fragrance Database (Multilingual Sample)The most comprehensive structured fragrance database available. This is a **free sample** of FragDB: **144,452 perfumes, 23 languages** — 10-row CSV samples at root.Full dataset: [fragdb.net](https://fragdb.net).## What's New in v5.21- **Data updated** from v5.20 → v5.21 (snapshot 2026-11-09):- Fragrances: 143,855 → **144,452** (+597: 603 added, 6 removed because their pages weredeleted at the source — PIDs 90751, 120557, 145109, 145311, 146511, 146512)- Brands: 8,501 → **8,537** (+36)- Perfumers: 3,198 → **3,209** (+11)- Notes: 2,626 → **2,633** rows in `notes.csv` (+7)- **Full crawl** — every page of the source was re-read on 2026-11-09, not only the new ones, soall 144,452 fragrance records (ratings, votes, notes and accords included) are as of that date.- **Companion parquet refreshed** — user reviews 5,026,322 → **5,064,371** (+38,049, allEnglish), editorial articles 25,981 → **26,048** (+67), news comments 280,874 → **281,566** (+692).- **Perfumer photos** — 11 existing perfumers gained a `photo_url`; 1,433 of 3,209 perfumers have a photo.- **Notes** — 7 new notes (`n2708`–`n2714`: Blowout Accord, Bubble Bath, Charred Pineapple,Grapefruit Flare, Pink Paloma Cocktail, Roasted Pineapple, Solar Flowers). Following the source,Madagascar Vanilla is now translated as Bourbon vanilla in 19 languages.- **Brand ids kept through renames and merges at the source.** Renamed: `b7452` Al Fares by Emper,`b5941` Jillian, `b7363` NuWilds, `b8072` Stallion 53 by Emper. Folded into another brand page:`b2228` (with `b8490` Le Chameau by Emper), `b6816` and `b8233` (with `b8451` Opal Perfume),`b4433` (with `b792` Tonatto Profumi), `b8441` (with `b6050` Atralia) — perfumes alreadypublished under the old id keep it. Group by `id`, not by name, to keep each pair apart. Fulllist in the [CHANGELOG](https://github.com/FragDB/fragrance-database/blob/main/CHANGELOG.md).- 33 previously published perfumes moved brand because the source moved them (20 KhadlajPerfumes → La Fede, 6 Lolita Lempicka → Lempicka Paris, 4 HANOK → Opal Perfume, 2 FrenchAvenue → Fragrance World, 1 Vivace → By Islamov).- Review coverage is 68.4% (98,750 of 144,452 perfumes).- The 27 articles that v5.20 shipped without a publication date are now dated; in v5.21,16 of the 17 newest articles (NID 26,542 and above) carry `date_unix = 0`.- Sample files unchanged: the schema did not move between v5.20 and v5.21.## What's New in v5.20- **Data updated** from v5.19 → v5.20 (snapshot 2026-11-01):197 unmodified lines## Snapshot freshness- **Data refreshed**: 2026-11-09 (v5.21) — a full crawl: every fragrance page of the source was re-read on 2026-11-09, so all records, ratings and votes included, are as of that date- **Reviews, news, news comments** (parquet): refreshed in this release — latest review 2026-11-09, latest article 2026-11-06, latest news comment 2026-11-09## Data API — per-record access106 unmodified linesThe world's largest collection of structured fragrance reviews. Every entry includes the perfume ID (joinable with `fragrances.csv`), author username, posting date, full review text, avatar URL, and language code.- **5,064,371 user reviews** covering every major perfume in the database- **23 languages** — English (1.95M), Russian, Portuguese, Spanish, Korean, Turkish, Japanese, Polish, Italian, Hungarian, Serbian, Swedish, German, Hebrew, Ukrainian, French, Arabic, Greek, Czech, Chinese, Romanian, Mongolian, Dutch- **Coverage:** 68.4% of all fragrances have at least one review (98,750 of 144,452 PIDs)- **Deterministic global primary key** — stable comment IDs survive re-scrapes- **Zero duplicate rows**; every `pid` joins `fragrances.csv` except 66 reviews (0.001%) on 13 perfumes no longer in the catalogue- **Independent UGC per language** — genuine localized content, not machine translation- **8 fields:** `pid`, `lang`, `comment_id`, `author`, `date`, `text`, `avatar_url`, `gradient_class`- **PyArrow large_string format** — combined corpus exceeds 32-bit string offset limit**Use cases:** sentiment analysis · review classification · recommendation systems · perfume similarity from text · language detection benchmark · multilingual NLP training corpus · fragrance market research · author network analysis · trend detection by language### `news.parquet` — 26,048 Editorial Articles (2008–2026)Two decades of professional fragrance journalism. Every article includes title, author, full text (plain + HTML), category, related perfumes/brands/perfumers, publication date, and main image.- **26,048 editorial articles** from 2008 to 2026 — complete public archive- **30+ categories** — New Fragrances (33.8%), Fragrance Reviews (24.1%), Niche Perfumery (10.1%), Designer Brands, Interviews, History, Industry News- **Bilingual storage** — `text` (plain) for NLP, `text_html` (markup preserved) for rich display- **Linked entities** — `related_pids[]`, `related_brands[]`, `related_perfumers[]` as JSON arrays- **127,938 PID references** — all but 180 (0.14%) resolve; those point to perfumes no longer in the catalogue- **59.3% archived legacy, 40.7% modern** articles, all dated except 16 of the 17 newest (NID 26,542 and above)- **16 fields:** `nid`, `title`, `category`, `author`, `url`, `is_archived`, `date_unix`, `description`, `text`, `text_html`, `main_image`, `article_images`, `related_pids`, `related_brands`, `related_perfumers`, `comments_count`**Use cases:** content recommendation · article search engine · perfume knowledge graph · trend analysis · author influence study · entity linking · timeline analysis · industry research · niche perfumery research### `news_comments.parquet` — 281,566 Threaded Community CommentsCommunity discussions attached to editorial articles, with threading support for replies. Joinable with `news.parquet` via `nid`.- **281,566 threaded comments** across **23,278 articles** (89.4% of news articles have ≥1 comment)- **5.7% reply rate** — threaded conversations with reply detection- **100% populated timestamps**- **9 fields:** `nid`, `comment_id`, `is_reply`, `author`, `date`, `date_unix`, `text`, `avatar_url`, `gradient`59 unmodified lines| | Sample | Full Database ||---|--------|---------------|| Fragrances | 10 | **144,452** || Brands | 10 | **8,537** || Perfumers | 10 | **3,209** || Notes | 10 | **2,633** || Accords | 10 | **92** || Translations | 34 | **34** || Languages | 23 | **23** || **Total Records** | ~84 | **158,957** |## Quick Start40 unmodified linestitle={FragDB Fragrance Database},author={FragDB},year={2026},version={5.21},url={https://fragdb.net},note={Multilingual dataset with 6 files, 23 languages}}
12345678913 unmodified lines23242526272829303132333435363721 unmodified lines5960616263646566676869707172737425 unmodified lines1001011021031041051064 unmodified lines1111121131141151161171181191201211221231244 unmodified lines1291301311321331341351 unmodified line13713813914014114214314414514614713 unmodified lines1611621631641651661671681691701711721731741751761771781791801811822 unmodified lines18518618718818919019119219319419519619719819920020114 unmodified lines2162172182192202212222232242252262272287 unmodified lines23623723823924024124251 unmodified lines294295296297298299300168 unmodified lines4694704714724734744754761 unmodified line4784794804814824834847 unmodified lines49249349449549649749849950050150250350450550613 unmodified lines520521522523524525526100 unmodified lines627628629630631632633634635# Fragrantika News & Comments Datasets — Technical Specification**Snapshot date:** 2026-11-01 (v5.20)**Source:** `fragrantica.com` and 22 localized domains (`fragrantica.de`, `fragrantica.ru`, etc.)**Format:** Apache Parquet (Zstandard compression)**Total combined size:** ~1.56 GB on diskThis document specifies three datasets that complement the existingFragrantika perfume database (`merged_database`, `brands_database_v2`,13 unmodified lines| Dataset | Rows | Compressed Size | Distinct entities ||---|---:|---:|---:|| `comments.parquet` | 5,026,322 | 1.41 GB | 98,288 perfumes, 23 languages || `news.parquet` | 25,981 articles | 115 MB | NID 1..26493 || `news_comments.parquet` | 280,874 | 37 MB | 23,215 articles with comments |All three datasets share the same identifier conventions used by theexisting perfume/brand/perfumer databases:- **PID** (`int32`) — unique perfume identifier; matches `merged_database.PID`.- **NID** (`int32`) — unique news article identifier (1..26493 range).- **lang** (`string`) — ISO 639-1 language code identifying which Fragrantikadomain the content was sourced from. Each domain hosts independentuser-generated content (reviews are not translations of one another).21 unmodified lines### 2.2 Volumetrics- **Total rows:** 5,026,322- **Distinct PIDs covered:** 98,288 — 98,276 of the 143,855 perfumes in `fragrances.csv` (68.3%), plus 12 perfumes no longer in the catalogue; the remaining 45,579 perfumes have zero reviews- **PID range:** 1 — 146,459- **Languages:** 23 (full list in §2.3)### 2.3 Language distribution| Lang | Code | Comments | Distinct PIDs ||---|---|---:|---:|| English | `en` | 1,917,162 | 81,678 (57% of perfumes) || Russian | `ru` | 938,870 | 55,094 || Portuguese (Brazilian) | `pt` | 283,681 | 23,258 || Spanish | `es` | 245,951 | 28,294 |25 unmodified lines### 2.4 ID generation`comment_id` is content-derived (sha1-based), giving three properties:- **Globally unique** across all 5.0M rows (0 collisions in v5.20).- **Stable across re-scrapes**: re-fetching the same comment yields the sameID. Useful for incremental updates and joining with downstream tables.- **Idempotent dedup key**: `(nid, comment_id)` and `comment_id` alone are4 unmodified lines## 3. Dataset 2: `news.parquet`Editorial articles from `fragrantica.com/news/` (English-only). Covers theentire archive 2008-2026 (NID 1..26493), including both archived legacyarticles and modern editorial content.### 3.1 Schema (16 fields)| # | Field | Type | NULL? | Description ||---:|---|---|---|---|| 1 | `nid` | `int32` | NO | News article ID. Range 1..26493. || 2 | `title` | `string` | NO | Article title. Plain text, HTML entities decoded. || 3 | `category` | `string` | NO | Editorial category (e.g., `New Fragrances`, `Fragrance Reviews`, `Interviews`). 30+ distinct values. Top 10 in §3.4. || 4 | `author` | `string` | YES | Comma-separated list of author names (multi-author articles common). |4 unmodified lines| 9 | `article_images` | `string` | NO | **JSON-encoded array** of all image URLs in the article body. Use `json.loads(field)` → `list[str]`. Empty array `'[]'` if none. || 10 | `url` | `string` | NO | Canonical article URL (e.g., `https://www.fragrantica.com/news/x-12345.html`). || 11 | `is_archived` | `bool` | NO | `True` if article is in Fragrantika's legacy/archived corpus (older HTML template, often missing publication date — see §3.5). || 12 | `related_pids` | `string` | NO | **JSON-encoded array** of PIDs (as decimal strings) referenced in the article. Foreign key → `merged_database.PID`. 177 of 127,609 references (0.14%) point to perfumes no longer in the catalogue. || 13 | `related_brands` | `string` | NO | **JSON-encoded array** of brand names. Informational metadata; see §5.4 for canonical resolution. || 14 | `related_perfumers` | `string` | NO | **JSON-encoded array** of perfumer names with diacritics preserved (e.g., `François Demachy`, `Carlos Benaïm`). Informational; see §5.5. || 15 | `comments_count` | `int32` | NO | Count of comments in `news_comments.parquet` matching this NID. |1 unmodified line### 3.2 Volumetrics- **Total rows:** 25,981 articles- **NID range:** 1 — 26,493 (512 NIDs in that range are absent from the source)- **Archived:** 15,458 / 25,981 (59.5%)- **Non-archived:** 10,523 / 25,981 (40.5%)- **With publication date (`date_unix > 0`):** 15,187 (58.5%)### 3.3 List-fields format note13 unmodified lines| Category | Articles | % ||---|---:|---:|| New Fragrances | 8,799 | 33.9% || Fragrance Reviews | 6,258 | 24.1% || Niche Perfumery | 2,627 | 10.1% || Art Books Events | 1,657 | 6.4% || Columns | 1,501 | 5.8% || Fragrant Horoscope | 878 | 3.4% || Fragrance News | 837 | 3.2% || Interviews | 696 | 2.7% || Vintages | 457 | 1.8% || Raw Materials | 398 | 1.5% |Remaining 1,873 articles span 35 smaller categories.### 3.5 Date coverage`date_unix == 0` for 10,794 articles (41.5%). Distribution by NID range:| NID range | Articles | with date | % | archived % ||---|---:|---:|---:|---:|2 unmodified lines| 10,001 — 15,000 | 4,905 | 3,837 | 78.2% | 100% || 15,001 — 20,000 | 4,915 | 4,915 | 100% | 17.3% || 20,001 — 25,000 | 4,971 | 4,971 | 100% | 0% || 25,001 — 26,493 | 1,489 | 1,462 | 98.2% | 0% |Of the 10,794 articles without date, 10,767 come from the archived legacytemplate: 9,699 in NIDs 1–10,000 (all but 2 of the 9,701 there) and 1,068 inNIDs 10,001–15,000 (the remaining 22% of that range — the other 78% haverecoverable visible-text dates). Fragrantika's old archived HTML does notembed any date marker (no `<time>`, no `<meta>`, no visible date string)for these. This is an upstream HTML limitation, not a parser issue.The other 27 are the newest non-archived articles (27 of the 30 with NID 26,464 and above): thesource adds the date to the article page a few days after publication, and the next news refresh picks it up.**Of the 10,523 non-archived articles, 10,496 have `date_unix` populated.**---14 unmodified lines| 6 | `text` | `string` | NO | Comment body, plain text. || 7 | `avatar_url` | `string` | NO | Full URL to author avatar (Fragrantika CDN). || 8 | `gradient` | `string` | NO | CSS class for color badge (same scheme as `comments.parquet.gradient_class`). || 9 | `is_reply` | `bool` | NO | `True` if this comment is a reply to another comment (threaded discussion); `False` for root comments. 5.7% of rows are replies (16,008 / 280,874). |### 4.2 Volumetrics- **Total rows:** 280,874- **Distinct NIDs:** 23,215 (89.4% of articles have at least one comment)- **Replies:** 16,008 (5.7%)- **Average comments per article (in articles with comments):** 12.1---7 unmodified lines```┌────────────────────────────────────────────────────────┐│ merged_database.csv (existing, 143,855 perfumes) ││ ───────────────────── ││ PID ←──────────────────────┐ ││ Brand │ │51 unmodified lines### 5.3 Linking news to perfumes (related_pids)Foreign key: **`news.related_pids → merged_database.PID`** — JSON-arrayfield; 127,609 references, of which 177 (0.14%) point to perfumes no longer in the catalogue.```sql-- All news mentioning Aventus (PID 9828):168 unmodified lines| Check | Result ||---|:---:|| Duplicate rows by primary key (all 3 datasets) | 0 || FK integrity (`comments.pid → PID`) | 62 rows on 12 perfumes no longer in the catalogue || FK integrity (`news.related_pids → PID`) | 177 of 127,609 refs point to perfumes no longer in the catalogue || FK integrity (`news_comments.nid → nid`) | 0 orphans || `comment_id` global uniqueness (`comments.parquet`) | 0 collisions over 5.0M rows || HTML/CSS pollution in text fields | 0 |1 unmodified line| Mojibake / replacement char (U+FFFD) | 0 || Language attribution accuracy (langdetect on sample) | >95% per language || `news_comments.date_unix > 0` populated | 100% || `news.date_unix > 0` populated (non-archived) | 99.7% (10,496 / 10,523) |### 7.1 Provenance7 unmodified lines## 8. Known limitations (transparent disclosure)1. **News articles without dates (10,794 / 25,981 = 41.5%).**Fragrantika's archived HTML template does not embed any date marker(`<time>`, meta tag, or visible string). For these articles, `date_unix`is `0`. The archived no-date subset is concentrated in NIDs 1–15,000: 9,699 of9,701 archived articles in NIDs 1–10,000 and 1,068 of 4,905 in NIDs10,001–15,000. (852 archived articles in NIDs 15,001–20,000 do havedates.) In addition, 27 of the 30 newest non-archived articles (NID 26,464 and above)carry no date yet — the source adds it a few days after publication and the nextnews refresh picks it up; the remaining 10,496 of 10,523 non-archived articles are dated.2. **`related_brands` matching gap (~12%).** Fragrantika has renamed~50 brands over the years (e.g., `Christian Dior → Dior`); the captured13 unmodified lines(e.g., a "5/10" rating posted by the same author on multiple subdomains).These are real (Fragrantika's display behavior), not parser duplicates.5. **Comments PID coverage gap.** 45,579 perfumes (31.7%) have zero commentsin any language. In the May 2026 audit, checked against Fragrantika's `reviews_count` field,99.8% of zero-comment perfumes truly had zero reviews on the platform. Atargeted re-collection of the 73 PIDs flagged as `reviews_count > 0`100 unmodified lines| Field | Value ||---|---|| Snapshot date | 2026-11-01 (v5.20) || Comments PID range | 1 — 146,459 || News NID range | 1 — 26,493 || Schema version | v1 (8 / 16 / 9 fields respectively) || Compression | zstd || Format | Parquet 2.x |12345678913 unmodified lines23242526272829303132333435363721 unmodified lines5960616263646566676869707172737425 unmodified lines1001011021031041051064 unmodified lines1111121131141151161171181191201211221231244 unmodified lines1291301311321331341351 unmodified line13713813914014114214314414514614713 unmodified lines1611621631641651661671681691701711721731741751761771781791801811822 unmodified lines18518618718818919019119219319419519619719819920020114 unmodified lines2162172182192202212222232242252262272287 unmodified lines23623723823924024124251 unmodified lines294295296297298299300168 unmodified lines4694704714724734744754761 unmodified line4784794804814824834847 unmodified lines49249349449549649749849950050150250350450550613 unmodified lines520521522523524525526100 unmodified lines627628629630631632633634635# Fragrantika News & Comments Datasets — Technical Specification**Snapshot date:** 2026-11-09 (v5.21)**Source:** `fragrantica.com` and 22 localized domains (`fragrantica.de`, `fragrantica.ru`, etc.)**Format:** Apache Parquet (Zstandard compression)**Total combined size:** ~1.57 GB on diskThis document specifies three datasets that complement the existingFragrantika perfume database (`merged_database`, `brands_database_v2`,13 unmodified lines| Dataset | Rows | Compressed Size | Distinct entities ||---|---:|---:|---:|| `comments.parquet` | 5,064,371 | 1.42 GB | 98,763 perfumes, 23 languages || `news.parquet` | 26,048 articles | 116 MB | NID 1..26558 || `news_comments.parquet` | 281,566 | 37 MB | 23,278 articles with comments |All three datasets share the same identifier conventions used by theexisting perfume/brand/perfumer databases:- **PID** (`int32`) — unique perfume identifier; matches `merged_database.PID`.- **NID** (`int32`) — unique news article identifier (1..26558 range).- **lang** (`string`) — ISO 639-1 language code identifying which Fragrantikadomain the content was sourced from. Each domain hosts independentuser-generated content (reviews are not translations of one another).21 unmodified lines### 2.2 Volumetrics- **Total rows:** 5,064,371- **Distinct PIDs covered:** 98,763 — 98,750 of the 144,452 perfumes in `fragrances.csv` (68.4%), plus 13 perfumes no longer in the catalogue; the remaining 45,702 perfumes have zero reviews- **PID range:** 1 — 147,127- **Languages:** 23 (full list in §2.3)### 2.3 Language distribution| Lang | Code | Comments | Distinct PIDs ||---|---|---:|---:|| English | `en` | 1,955,211 | 82,273 (57% of perfumes) || Russian | `ru` | 938,870 | 55,094 || Portuguese (Brazilian) | `pt` | 283,681 | 23,258 || Spanish | `es` | 245,951 | 28,294 |25 unmodified lines### 2.4 ID generation`comment_id` is content-derived (sha1-based), giving three properties:- **Globally unique** across all 5.0M rows (0 collisions in v5.21).- **Stable across re-scrapes**: re-fetching the same comment yields the sameID. Useful for incremental updates and joining with downstream tables.- **Idempotent dedup key**: `(nid, comment_id)` and `comment_id` alone are4 unmodified lines## 3. Dataset 2: `news.parquet`Editorial articles from `fragrantica.com/news/` (English-only). Covers theentire archive 2008-2026 (NID 1..26558), including both archived legacyarticles and modern editorial content.### 3.1 Schema (16 fields)| # | Field | Type | NULL? | Description ||---:|---|---|---|---|| 1 | `nid` | `int32` | NO | News article ID. Range 1..26558. || 2 | `title` | `string` | NO | Article title. Plain text, HTML entities decoded. || 3 | `category` | `string` | NO | Editorial category (e.g., `New Fragrances`, `Fragrance Reviews`, `Interviews`). 30+ distinct values. Top 10 in §3.4. || 4 | `author` | `string` | YES | Comma-separated list of author names (multi-author articles common). |4 unmodified lines| 9 | `article_images` | `string` | NO | **JSON-encoded array** of all image URLs in the article body. Use `json.loads(field)` → `list[str]`. Empty array `'[]'` if none. || 10 | `url` | `string` | NO | Canonical article URL (e.g., `https://www.fragrantica.com/news/x-12345.html`). || 11 | `is_archived` | `bool` | NO | `True` if article is in Fragrantika's legacy/archived corpus (older HTML template, often missing publication date — see §3.5). || 12 | `related_pids` | `string` | NO | **JSON-encoded array** of PIDs (as decimal strings) referenced in the article. Foreign key → `merged_database.PID`. 180 of 127,938 references (0.14%) point to perfumes no longer in the catalogue. || 13 | `related_brands` | `string` | NO | **JSON-encoded array** of brand names. Informational metadata; see §5.4 for canonical resolution. || 14 | `related_perfumers` | `string` | NO | **JSON-encoded array** of perfumer names with diacritics preserved (e.g., `François Demachy`, `Carlos Benaïm`). Informational; see §5.5. || 15 | `comments_count` | `int32` | NO | Count of comments in `news_comments.parquet` matching this NID. |1 unmodified line### 3.2 Volumetrics- **Total rows:** 26,048 articles- **NID range:** 1 — 26,558 (510 NIDs in that range are absent from the source)- **Archived:** 15,458 / 26,048 (59.3%)- **Non-archived:** 10,590 / 26,048 (40.7%)- **With publication date (`date_unix > 0`):** 15,265 (58.6%)### 3.3 List-fields format note13 unmodified lines| Category | Articles | % ||---|---:|---:|| New Fragrances | 8,815 | 33.8% || Fragrance Reviews | 6,281 | 24.1% || Niche Perfumery | 2,630 | 10.1% || Art Books Events | 1,666 | 6.4% || Columns | 1,503 | 5.8% || Fragrant Horoscope | 880 | 3.4% || Fragrance News | 845 | 3.2% || Interviews | 696 | 2.7% || Vintages | 457 | 1.8% || Raw Materials | 398 | 1.5% |Remaining 1,877 articles span 35 smaller categories.### 3.5 Date coverage`date_unix == 0` for 10,783 articles (41.4%). Distribution by NID range:| NID range | Articles | with date | % | archived % ||---|---:|---:|---:|---:|2 unmodified lines| 10,001 — 15,000 | 4,905 | 3,837 | 78.2% | 100% || 15,001 — 20,000 | 4,915 | 4,915 | 100% | 17.3% || 20,001 — 25,000 | 4,971 | 4,971 | 100% | 0% || 25,001 — 26,558 | 1,556 | 1,540 | 99.0% | 0% |Of the 10,783 articles without date, 10,767 come from the archived legacytemplate: 9,699 in NIDs 1–10,000 (all but 2 of the 9,701 there) and 1,068 inNIDs 10,001–15,000 (the remaining 22% of that range — the other 78% haverecoverable visible-text dates). Fragrantika's old archived HTML does notembed any date marker (no `<time>`, no `<meta>`, no visible date string)for these. This is an upstream HTML limitation, not a parser issue.The other 16 are the newest non-archived articles (16 of the 17 with NID 26,542 and above): thesource adds the date to the article page a few days after publication, and the next news refresh picks it up.**Of the 10,590 non-archived articles, 10,574 have `date_unix` populated.**---14 unmodified lines| 6 | `text` | `string` | NO | Comment body, plain text. || 7 | `avatar_url` | `string` | NO | Full URL to author avatar (Fragrantika CDN). || 8 | `gradient` | `string` | NO | CSS class for color badge (same scheme as `comments.parquet.gradient_class`). || 9 | `is_reply` | `bool` | NO | `True` if this comment is a reply to another comment (threaded discussion); `False` for root comments. 5.7% of rows are replies (16,158 / 281,566). |### 4.2 Volumetrics- **Total rows:** 281,566- **Distinct NIDs:** 23,278 (89.4% of articles have at least one comment)- **Replies:** 16,158 (5.7%)- **Average comments per article (in articles with comments):** 12.1---7 unmodified lines```┌────────────────────────────────────────────────────────┐│ merged_database.csv (existing, 144,452 perfumes) ││ ───────────────────── ││ PID ←──────────────────────┐ ││ Brand │ │51 unmodified lines### 5.3 Linking news to perfumes (related_pids)Foreign key: **`news.related_pids → merged_database.PID`** — JSON-arrayfield; 127,938 references, of which 180 (0.14%) point to perfumes no longer in the catalogue.```sql-- All news mentioning Aventus (PID 9828):168 unmodified lines| Check | Result ||---|:---:|| Duplicate rows by primary key (all 3 datasets) | 0 || FK integrity (`comments.pid → PID`) | 66 rows on 13 perfumes no longer in the catalogue || FK integrity (`news.related_pids → PID`) | 180 of 127,938 refs point to perfumes no longer in the catalogue || FK integrity (`news_comments.nid → nid`) | 0 orphans || `comment_id` global uniqueness (`comments.parquet`) | 0 collisions over 5.0M rows || HTML/CSS pollution in text fields | 0 |1 unmodified line| Mojibake / replacement char (U+FFFD) | 0 || Language attribution accuracy (langdetect on sample) | >95% per language || `news_comments.date_unix > 0` populated | 100% || `news.date_unix > 0` populated (non-archived) | 99.8% (10,574 / 10,590) |### 7.1 Provenance7 unmodified lines## 8. Known limitations (transparent disclosure)1. **News articles without dates (10,783 / 26,048 = 41.4%).**Fragrantika's archived HTML template does not embed any date marker(`<time>`, meta tag, or visible string). For these articles, `date_unix`is `0`. The archived no-date subset is concentrated in NIDs 1–15,000: 9,699 of9,701 archived articles in NIDs 1–10,000 and 1,068 of 4,905 in NIDs10,001–15,000. (852 archived articles in NIDs 15,001–20,000 do havedates.) In addition, 16 of the 17 newest non-archived articles (NID 26,542 and above)carry no date yet — the source adds it a few days after publication and the nextnews refresh picks it up; the remaining 10,574 of 10,590 non-archived articles are dated.2. **`related_brands` matching gap (~12%).** Fragrantika has renamed~50 brands over the years (e.g., `Christian Dior → Dior`); the captured13 unmodified lines(e.g., a "5/10" rating posted by the same author on multiple subdomains).These are real (Fragrantika's display behavior), not parser duplicates.5. **Comments PID coverage gap.** 45,702 perfumes (31.6%) have zero commentsin any language. In the May 2026 audit, checked against Fragrantika's `reviews_count` field,99.8% of zero-comment perfumes truly had zero reviews on the platform. Atargeted re-collection of the 73 PIDs flagged as `reviews_count > 0`100 unmodified lines| Field | Value ||---|---|| Snapshot date | 2026-11-09 (v5.21) || Comments PID range | 1 — 147,127 || News NID range | 1 — 26,558 || Schema version | v1 (8 / 16 / 9 fields respectively) || Compression | zstd || Format | Parquet 2.x |
README.md+52-22
SPEC.md+48-48