Alexander Wirth commited on
Commit ·
341ef25
1
Parent(s): a4b327b
v2.3.1: Full channel sync — 12 columns, corrected null rates, updated samples (400 rows, 12 cols), citation block, file sizes
Browse files- MANIFEST_v2.json +77 -64
- README.md +26 -20
- ethno_sample_400.json +0 -0
- ethno_sample_400.parquet +0 -0
- quickstart.ipynb +4 -4
MANIFEST_v2.json
CHANGED
|
@@ -1,71 +1,84 @@
|
|
| 1 |
{
|
| 2 |
-
"schema_version": "2.3",
|
| 3 |
-
"
|
| 4 |
-
"export_timestamp": "2026-03-26T12:10:52.554582Z",
|
| 5 |
"record_count": 76907,
|
| 6 |
"unique_chemicals": 24746,
|
| 7 |
"unique_species": 2313,
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"patent_count_since_2020",
|
| 18 |
-
"pubchem_cid",
|
| 19 |
-
"canonical_smiles"
|
| 20 |
],
|
| 21 |
-
"
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"patent_count_since_2020": 0,
|
| 37 |
-
"pubchem_cid": 18949,
|
| 38 |
-
"canonical_smiles": 18949
|
| 39 |
-
},
|
| 40 |
-
"smiles_coverage": "75.4%",
|
| 41 |
-
"cid_coverage": "75.4%",
|
| 42 |
-
"enrichment_statistics": {
|
| 43 |
-
"pubchem_cid_filled": 57958,
|
| 44 |
-
"canonical_smiles_filled": 57958,
|
| 45 |
-
"pubchem_fill_rate_pct": 75.4,
|
| 46 |
-
"smiles_fill_rate_pct": 75.4
|
| 47 |
-
},
|
| 48 |
-
"v2.3_changelog": {
|
| 49 |
-
"cts_worker_resolved": 997,
|
| 50 |
-
"records_improved": 2741,
|
| 51 |
-
"cts_candidates_total": 14197,
|
| 52 |
-
"cts_resolution_rate_pct": 7.0,
|
| 53 |
-
"method": "PubChem PUG-REST name-to-CID (v4 worker, checkpoint-resumable)"
|
| 54 |
-
},
|
| 55 |
-
"sha256_json": "956cd7b08d279792e132629ce608ab72eb9249b09ac84ed9c60bd108acb5057e",
|
| 56 |
-
"sha256_parquet": "4b7351048db025cbf575b4538e66afd70729c327b8a0b48ead87d5546a39762e",
|
| 57 |
-
"file_sizes": {
|
| 58 |
-
"json_mb": 25.6,
|
| 59 |
-
"parquet_kb": 1211.3
|
| 60 |
-
},
|
| 61 |
-
"data_sources": [
|
| 62 |
-
"USDA Dr. Duke Phytochemical and Ethnobotanical Databases",
|
| 63 |
-
"NCBI PubMed (E-utilities API, 2026 snapshot)",
|
| 64 |
-
"ClinicalTrials.gov (API v2, 2026 snapshot)",
|
| 65 |
-
"ChEMBL v35 REST API",
|
| 66 |
-
"USPTO PatentsView (2020-2026)",
|
| 67 |
-
"PubChem REST API (CID + CanonicalSMILES, 2026)"
|
| 68 |
],
|
| 69 |
-
"
|
| 70 |
-
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"schema_version": "2.3.1",
|
| 3 |
+
"export_timestamp": "2026-04-11T22:47:02.644641Z",
|
|
|
|
| 4 |
"record_count": 76907,
|
| 5 |
"unique_chemicals": 24746,
|
| 6 |
"unique_species": 2313,
|
| 7 |
+
"sha256_parquet": "6f72ab8e13437bd04b5a84a22539216191486b477bc4abb009b24ad2ba933910",
|
| 8 |
+
"sha256_json": "3b042206b5c65ef9b051fff7f891ca09197be447bf715313ff290008b0de2136",
|
| 9 |
+
"file_sizes_mb": {
|
| 10 |
+
"parquet": 1.423,
|
| 11 |
+
"json": 27.765
|
| 12 |
+
},
|
| 13 |
+
"columns": [
|
| 14 |
+
"chemical", "plant_species", "application", "dosage",
|
| 15 |
+
"pubmed_mentions_2026", "clinical_trials_count_2026",
|
| 16 |
+
"chembl_bioactivity_count", "patent_count_since_2020",
|
| 17 |
+
"pubchem_cid", "canonical_smiles", "compound_type", "patent_count_method"
|
|
|
|
| 18 |
],
|
| 19 |
+
"column_count": 12,
|
| 20 |
+
"changelog": [
|
| 21 |
+
{
|
| 22 |
+
"version": "2.3.1",
|
| 23 |
+
"date": "2026-04-11",
|
| 24 |
+
"changes": [
|
| 25 |
+
"Added compound_type column: discrete_phytochemical | substance_class | complex_mixture | inorganic_element | generic_ambiguous",
|
| 26 |
+
"Added patent_count_method column: transparency for query methodology",
|
| 27 |
+
"patent_count_since_2020 set to NULL for RESIN, RESINS, INCLUDES, and >5000 patent entries without CID anchor (name-based collision confirmed)",
|
| 28 |
+
"pubchem_cid set to NULL for RESIN/RESINS: previous CID 133110026 was \u03b1-Copaene (incorrect mapping)",
|
| 29 |
+
"canonical_smiles set to NULL for RESIN/RESINS (inherited from incorrect CID)",
|
| 30 |
+
"Patent-Literature-Gap report revised: 30 \u2192 9 compounds after removing non-discrete entries"
|
| 31 |
+
]
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"version": "2.3.1-patch",
|
| 35 |
+
"date": "2026-04-11",
|
| 36 |
+
"changes": [
|
| 37 |
+
"N3 forensic validation: 8 gap-compounds reclassified after PubChem CID verification",
|
| 38 |
+
"SD, ASK, LF, RAA \u2192 generic_ambiguous (abbreviations w/ wrong CID mappings, CID/SMILES NULLed)",
|
| 39 |
+
"OPC \u2192 substance_class (Oligomeric Proanthocyanidins, wrong CID NULLed)",
|
| 40 |
+
"NH3 \u2192 inorganic_element (ammonia, CID 222 kept)",
|
| 41 |
+
"HCN, N-BUTYRALDEHYDE \u2192 generic_ambiguous (CID correct, kept)",
|
| 42 |
+
"Gap-Report: 9 \u2192 1 (only SORBOSE remains as valid gap-compound)"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
],
|
| 46 |
+
"known_limitations": [
|
| 47 |
+
"patent_count_since_2020 uses name-based text search (patent_title + patent_abstract), not CID-anchored queries",
|
| 48 |
+
"Generic compound names (resin, gum, acid) produced inflated patent counts \u2014 these are NULL in v2.3.1",
|
| 49 |
+
"PatentsView API migrated to USPTO ODP (data.uspto.gov) on 2026-03-20; re-enrichment pending API stabilization",
|
| 50 |
+
"RESIN entries: CID 133110026 (\u03b1-Copaene) was incorrect mapping \u2014 CID and SMILES set to NULL in v2.3.1",
|
| 51 |
+
"Inorganic elements (Fe, Zn, Si, etc.) included in source database (Duke); flagged as inorganic_element in compound_type",
|
| 52 |
+
"Primary metabolites (methanol, ethanol, etc.) included in source database; flagged as generic_ambiguous",
|
| 53 |
+
"PPM/dosage concentration values not validated in this audit \u2014 future scope"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
],
|
| 55 |
+
"field_methodology": {
|
| 56 |
+
"patent_count_since_2020": {
|
| 57 |
+
"api": "PatentsView PatentSearch API (Elasticsearch)",
|
| 58 |
+
"api_status": "Migrated to data.uspto.gov on 2026-03-20",
|
| 59 |
+
"query_type": "_text_any on patent_title AND patent_abstract",
|
| 60 |
+
"search_term": "raw compound name (NOT CID-based)",
|
| 61 |
+
"date_range": "2020-01-01 to enrichment date",
|
| 62 |
+
"rate_limit": "45 req/min",
|
| 63 |
+
"known_issue": "Generic names aggregate unrelated patents; affected entries set to NULL in v2.3.1"
|
| 64 |
+
},
|
| 65 |
+
"pubmed_mentions_2026": {
|
| 66 |
+
"api": "NCBI E-utilities ESearch",
|
| 67 |
+
"query_type": "exact phrase in Title/Abstract [tiab]",
|
| 68 |
+
"search_term": "compound name (quoted phrase)",
|
| 69 |
+
"level": "compound-level (same value for all plant rows of same compound)",
|
| 70 |
+
"protection": "compounds < 4 characters or in blocklist \u2192 0 (not NULL)"
|
| 71 |
+
},
|
| 72 |
+
"compound_type": {
|
| 73 |
+
"values": {
|
| 74 |
+
"discrete_phytochemical": "Not in any exclusion list \u2014 individual compound from Duke database",
|
| 75 |
+
"substance_class": "Broad chemical category (flavonoids, alkaloids, tannins, etc.)",
|
| 76 |
+
"complex_mixture": "Multi-component mixtures (resin, EO, gum, mucilage, pectin, etc.)",
|
| 77 |
+
"inorganic_element": "Elemental or inorganic (Fe, Zn, Si, etc.)",
|
| 78 |
+
"generic_ambiguous": "Generic terms with no specific chemical identity (includes, acids, kilocalories, etc.)"
|
| 79 |
+
},
|
| 80 |
+
"added_version": "v2.3.1"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"last_modified": "2026-04-11T23:10:48Z"
|
| 84 |
+
}
|
README.md
CHANGED
|
@@ -19,7 +19,7 @@ tags:
|
|
| 19 |
- parquet
|
| 20 |
- biology
|
| 21 |
- medical
|
| 22 |
-
pretty_name: USDA Phytochemical & Ethnobotanical Database — Enriched v2.3
|
| 23 |
size_categories:
|
| 24 |
- 10K<n<100K
|
| 25 |
configs:
|
|
@@ -49,6 +49,10 @@ dataset_info:
|
|
| 49 |
dtype: float64
|
| 50 |
- name: canonical_smiles
|
| 51 |
dtype: string
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
splits:
|
| 53 |
- name: train
|
| 54 |
num_bytes: 21261
|
|
@@ -66,12 +70,12 @@ dataset_info:
|
|
| 66 |
If you use this dataset in your research, please cite:
|
| 67 |
|
| 68 |
```
|
| 69 |
-
Wirth, A. (2026). USDA Phytochemical Database — Enriched v2.3 (Sample). Zenodo. https://doi.org/10.5281/zenodo.19265853
|
| 70 |
```
|
| 71 |
|
| 72 |
---
|
| 73 |
|
| 74 |
-
# USDA Phytochemical & Ethnobotanical Database — Enriched v2.3
|
| 75 |
|
| 76 |
**The only phytochemical dataset combining USDA botanical records, PubMed citation counts, ClinicalTrials.gov study counts, ChEMBL bioactivity scores, USPTO patent density, and PubChem CID/SMILES — in production-ready JSON + Parquet.**
|
| 77 |
|
|
@@ -84,7 +88,7 @@ Wirth, A. (2026). USDA Phytochemical Database — Enriched v2.3 (Sample). Zenodo
|
|
| 84 |
|
| 85 |
[**Free 400-Row Sample ↓**](#quickstart) · [**Single €699 →**](https://buy.stripe.com/00w6oGgFh58v6Toeqsebu02?utm_source=github&utm_medium=readme&utm_campaign=launch_2026_03) · [**Team €1,349 →**](https://buy.stripe.com/dRm7sK9cP1Wj0v06Y0ebu03?utm_source=github&utm_medium=readme&utm_campaign=launch_2026_03) · [**Enterprise — Contact us →**](mailto:founder@ethno-api.com?subject=Enterprise%20License%20Inquiry)
|
| 86 |
|
| 87 |
-
> **Enrichment status (March 2026):** All
|
| 88 |
|
| 89 |
</div>
|
| 90 |
|
|
@@ -109,7 +113,7 @@ Full methodology is documented in `METHODOLOGY.md`. Known limitations are listed
|
|
| 109 |
|
| 110 |
---
|
| 111 |
|
| 112 |
-
## Schema (v2.3)
|
| 113 |
|
| 114 |
| Column | Type | Nulls | Description |
|
| 115 |
|--------|------|-------|-------------|
|
|
@@ -120,11 +124,11 @@ Full methodology is documented in `METHODOLOGY.md`. Known limitations are listed
|
|
| 120 |
| `pubmed_mentions_2026` | `int32` | 0% | Total PubMed publications mentioning this compound (March 2026 snapshot) |
|
| 121 |
| `clinical_trials_count_2026` | `int32` | 0% | ClinicalTrials.gov study count per compound (March 2026) |
|
| 122 |
| `chembl_bioactivity_count` | `int32` | 0% | ChEMBL documented bioactivity measurement count |
|
| 123 |
-
| `patent_count_since_2020` | `int32` | 0% | US patents since 2020-01-01 mentioning compound (USPTO PatentsView) |
|
| 124 |
-
| `pubchem_cid` | `int64` | ~
|
| 125 |
-
| `canonical_smiles` | `string` | ~
|
| 126 |
-
| `compound_type` | `string` |
|
| 127 |
-
| `patent_count_method` | `string` |
|
| 128 |
|
| 129 |
---
|
| 130 |
|
|
@@ -210,7 +214,7 @@ from datasets import load_dataset
|
|
| 210 |
|
| 211 |
ds = load_dataset(
|
| 212 |
"wirthal1990-tech/USDA-Phytochemical-Database-JSON",
|
| 213 |
-
split="
|
| 214 |
trust_remote_code=False
|
| 215 |
)
|
| 216 |
df = ds.to_pandas()
|
|
@@ -218,7 +222,7 @@ print(f"Records: {len(df)} | Columns: {list(df.columns)}")
|
|
| 218 |
df.head()
|
| 219 |
```
|
| 220 |
|
| 221 |
-
> **Note:** The `split="sample"` loads `ethno_sample_400.json` (400 rows,
|
| 222 |
> The full 76,907-row dataset is available at [ethno-api.com](https://ethno-api.com).
|
| 223 |
|
| 224 |
## Sample Record
|
|
@@ -236,12 +240,14 @@ Below is a real record from the dataset — QUERCETIN, one of the most-studied p
|
|
| 236 |
"chembl_bioactivity_count": 2871,
|
| 237 |
"patent_count_since_2020": 73,
|
| 238 |
"pubchem_cid": 5280343,
|
| 239 |
-
"canonical_smiles": "C1=CC(=C(C=C1C2=C(C(=O)C3=C(C=C(C=C3O2)O)O)O)O)O"
|
|
|
|
|
|
|
| 240 |
}
|
| 241 |
```
|
| 242 |
|
| 243 |
-
All 76,907 records contain all
|
| 244 |
-
The free 400-row sample contains real, final enrichment values across all
|
| 245 |
|
| 246 |
## File Manifest
|
| 247 |
|
|
@@ -250,8 +256,8 @@ The free 400-row sample contains real, final enrichment values across all four l
|
|
| 250 |
| `ethno_sample_400.json` | 108 KB | JSON | Free (this repo) |
|
| 251 |
| `ethno_sample_400.parquet` | 20 KB | Parquet | Free (this repo) |
|
| 252 |
| `quickstart.ipynb` | 9 KB | Notebook | Free (this repo) |
|
| 253 |
-
| `ethno_dataset_2026_v2.3.json` | ~
|
| 254 |
-
| `ethno_dataset_2026_v2.3.parquet` | ~1.
|
| 255 |
| `MANIFEST_v2.3.json` (SHA-256) | ~1 KB | JSON | Included in all tiers |
|
| 256 |
| `duckdb_queries.sql` (20 Queries) | ~13 KB | SQL | Team + Enterprise |
|
| 257 |
| `compound_priority_score.py` | ~5 KB | Python | Team + Enterprise |
|
|
@@ -293,7 +299,7 @@ Enrichment methodology is documented in [`METHODOLOGY.md`](METHODOLOGY.md). Sour
|
|
| 293 |
| v2.3 | 76,907 | 10 columns (CTS synonym enrichment — PubChem CID coverage 75.4%) | Superseded |
|
| 294 |
| **v2.3.1** | **76,907** | **12 columns (+compound_type, +patent_count_method, forensic audit corrections)** | **Current** |
|
| 295 |
|
| 296 |
-
The free sample (`ethno_sample_400.json`) uses the v2.3 schema with final enrichment values across all five layers.
|
| 297 |
|
| 298 |
## Data Attribution
|
| 299 |
|
|
@@ -328,13 +334,13 @@ Ethno-API is the deterministic answer to these pipeline requirements.
|
|
| 328 |
|
| 329 |
```bibtex
|
| 330 |
@misc{ethno_api_v23_2026,
|
| 331 |
-
title = {USDA Phytochemical \& Ethnobotanical Database --- Enriched v2.3},
|
| 332 |
author = {Wirth, Alexander},
|
| 333 |
year = {2026},
|
| 334 |
publisher = {Ethno-API},
|
| 335 |
url = {https://ethno-api.com},
|
| 336 |
doi = {10.5281/zenodo.19265853},
|
| 337 |
-
note = {76,907 records, 24,746 unique chemicals, 2,313 plant species,
|
| 338 |
}
|
| 339 |
```
|
| 340 |
|
|
|
|
| 19 |
- parquet
|
| 20 |
- biology
|
| 21 |
- medical
|
| 22 |
+
pretty_name: USDA Phytochemical & Ethnobotanical Database — Enriched v2.3.1
|
| 23 |
size_categories:
|
| 24 |
- 10K<n<100K
|
| 25 |
configs:
|
|
|
|
| 49 |
dtype: float64
|
| 50 |
- name: canonical_smiles
|
| 51 |
dtype: string
|
| 52 |
+
- name: compound_type
|
| 53 |
+
dtype: string
|
| 54 |
+
- name: patent_count_method
|
| 55 |
+
dtype: string
|
| 56 |
splits:
|
| 57 |
- name: train
|
| 58 |
num_bytes: 21261
|
|
|
|
| 70 |
If you use this dataset in your research, please cite:
|
| 71 |
|
| 72 |
```
|
| 73 |
+
Wirth, A. (2026). USDA Phytochemical Database — Enriched v2.3.1 (Sample). Zenodo. https://doi.org/10.5281/zenodo.19265853
|
| 74 |
```
|
| 75 |
|
| 76 |
---
|
| 77 |
|
| 78 |
+
# USDA Phytochemical & Ethnobotanical Database — Enriched v2.3.1
|
| 79 |
|
| 80 |
**The only phytochemical dataset combining USDA botanical records, PubMed citation counts, ClinicalTrials.gov study counts, ChEMBL bioactivity scores, USPTO patent density, and PubChem CID/SMILES — in production-ready JSON + Parquet.**
|
| 81 |
|
|
|
|
| 88 |
|
| 89 |
[**Free 400-Row Sample ↓**](#quickstart) · [**Single €699 →**](https://buy.stripe.com/00w6oGgFh58v6Toeqsebu02?utm_source=github&utm_medium=readme&utm_campaign=launch_2026_03) · [**Team €1,349 →**](https://buy.stripe.com/dRm7sK9cP1Wj0v06Y0ebu03?utm_source=github&utm_medium=readme&utm_campaign=launch_2026_03) · [**Enterprise — Contact us →**](mailto:founder@ethno-api.com?subject=Enterprise%20License%20Inquiry)
|
| 90 |
|
| 91 |
+
> **Enrichment status (March 2026):** All five enrichment layers (PubMed, ClinicalTrials.gov, ChEMBL, PatentsView, PubChem) are **complete and final**. v2.3.1 adds compound_type classification and patent_count_method transparency (PubChem CID coverage: 75.4%). The free 400-row sample contains real enrichment values.
|
| 92 |
|
| 93 |
</div>
|
| 94 |
|
|
|
|
| 113 |
|
| 114 |
---
|
| 115 |
|
| 116 |
+
## Schema (v2.3.1)
|
| 117 |
|
| 118 |
| Column | Type | Nulls | Description |
|
| 119 |
|--------|------|-------|-------------|
|
|
|
|
| 124 |
| `pubmed_mentions_2026` | `int32` | 0% | Total PubMed publications mentioning this compound (March 2026 snapshot) |
|
| 125 |
| `clinical_trials_count_2026` | `int32` | 0% | ClinicalTrials.gov study count per compound (March 2026) |
|
| 126 |
| `chembl_bioactivity_count` | `int32` | 0% | ChEMBL documented bioactivity measurement count |
|
| 127 |
+
| `patent_count_since_2020` | `int32` | ~0.9% | US patents since 2020-01-01 mentioning compound (USPTO PatentsView) |
|
| 128 |
+
| `pubchem_cid` | `int64` | ~28.2% | PubChem Compound ID (CID) — resolved via PubChem PUG REST (March 2026) |
|
| 129 |
+
| `canonical_smiles` | `string` | ~28.2% | Canonical SMILES notation — molecular structure from PubChem (75.4% of unique compounds resolved in v2.3) |
|
| 130 |
+
| `compound_type` | `string` | 0% | Classification: `discrete_phytochemical`, `substance_class`, `complex_mixture`, `inorganic_element`, `generic_ambiguous` — added in v2.3.1 |
|
| 131 |
+
| `patent_count_method` | `string` | 0% | Query methodology: `name_based_with_cid`, `name_based_no_cid`, `name_based_invalidated`, `NULL` — added in v2.3.1 |
|
| 132 |
|
| 133 |
---
|
| 134 |
|
|
|
|
| 214 |
|
| 215 |
ds = load_dataset(
|
| 216 |
"wirthal1990-tech/USDA-Phytochemical-Database-JSON",
|
| 217 |
+
split="train",
|
| 218 |
trust_remote_code=False
|
| 219 |
)
|
| 220 |
df = ds.to_pandas()
|
|
|
|
| 222 |
df.head()
|
| 223 |
```
|
| 224 |
|
| 225 |
+
> **Note:** The `split="sample"` loads `ethno_sample_400.json` (400 rows, 12 columns).
|
| 226 |
> The full 76,907-row dataset is available at [ethno-api.com](https://ethno-api.com).
|
| 227 |
|
| 228 |
## Sample Record
|
|
|
|
| 240 |
"chembl_bioactivity_count": 2871,
|
| 241 |
"patent_count_since_2020": 73,
|
| 242 |
"pubchem_cid": 5280343,
|
| 243 |
+
"canonical_smiles": "C1=CC(=C(C=C1C2=C(C(=O)C3=C(C=C(C=C3O2)O)O)O)O)O",
|
| 244 |
+
"compound_type": "discrete_phytochemical",
|
| 245 |
+
"patent_count_method": "name_based_with_cid"
|
| 246 |
}
|
| 247 |
```
|
| 248 |
|
| 249 |
+
All 76,907 records contain all 12 schema fields. The 4 enrichment columns are always non-null; `pubchem_cid` and `canonical_smiles` are filled for 75.4% of unique compounds (18,675 of 24,746 resolved via PubChem PUG REST in v2.3); `compound_type` and `patent_count_method` are populated for all records; `application` (~50% null) and `dosage` (~87% null) reflect USDA source gaps. Unresolved compounds are phytochemical trivial names, mixture descriptions, or non-specific ethnobotanical terms not indexed in PubChem by name.
|
| 250 |
+
The free 400-row sample contains real, final enrichment values across all five layers.
|
| 251 |
|
| 252 |
## File Manifest
|
| 253 |
|
|
|
|
| 256 |
| `ethno_sample_400.json` | 108 KB | JSON | Free (this repo) |
|
| 257 |
| `ethno_sample_400.parquet` | 20 KB | Parquet | Free (this repo) |
|
| 258 |
| `quickstart.ipynb` | 9 KB | Notebook | Free (this repo) |
|
| 259 |
+
| `ethno_dataset_2026_v2.3.json` | ~28 MB | JSON | Included in all tiers |
|
| 260 |
+
| `ethno_dataset_2026_v2.3.parquet` | ~1.5 MB | Parquet | Included in all tiers |
|
| 261 |
| `MANIFEST_v2.3.json` (SHA-256) | ~1 KB | JSON | Included in all tiers |
|
| 262 |
| `duckdb_queries.sql` (20 Queries) | ~13 KB | SQL | Team + Enterprise |
|
| 263 |
| `compound_priority_score.py` | ~5 KB | Python | Team + Enterprise |
|
|
|
|
| 299 |
| v2.3 | 76,907 | 10 columns (CTS synonym enrichment — PubChem CID coverage 75.4%) | Superseded |
|
| 300 |
| **v2.3.1** | **76,907** | **12 columns (+compound_type, +patent_count_method, forensic audit corrections)** | **Current** |
|
| 301 |
|
| 302 |
+
The free sample (`ethno_sample_400.json`) uses the v2.3.1 schema with final enrichment values across all five layers.
|
| 303 |
|
| 304 |
## Data Attribution
|
| 305 |
|
|
|
|
| 334 |
|
| 335 |
```bibtex
|
| 336 |
@misc{ethno_api_v23_2026,
|
| 337 |
+
title = {USDA Phytochemical \& Ethnobotanical Database --- Enriched v2.3.1},
|
| 338 |
author = {Wirth, Alexander},
|
| 339 |
year = {2026},
|
| 340 |
publisher = {Ethno-API},
|
| 341 |
url = {https://ethno-api.com},
|
| 342 |
doi = {10.5281/zenodo.19265853},
|
| 343 |
+
note = {76,907 records, 24,746 unique chemicals, 2,313 plant species, 12-column schema with PubMed, ClinicalTrials, ChEMBL, PatentsView, PubChem CID/SMILES enrichment}
|
| 344 |
}
|
| 345 |
```
|
| 346 |
|
ethno_sample_400.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ethno_sample_400.parquet
CHANGED
|
Binary files a/ethno_sample_400.parquet and b/ethno_sample_400.parquet differ
|
|
|
quickstart.ipynb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"id": "cell-01",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
-
"# USDA Phytochemical & Ethnobotanical Database — Enriched v2.3\n",
|
| 9 |
"\n",
|
| 10 |
"**76,907 records · 24,746 compounds · 2,313 species · 5 enrichment layers**\n",
|
| 11 |
"\n",
|
|
@@ -203,15 +203,15 @@
|
|
| 203 |
"## Citation\n",
|
| 204 |
"\n",
|
| 205 |
"```bibtex\n",
|
| 206 |
-
"@misc{ethno_api_v2.
|
| 207 |
-
" title = {USDA Phytochemical \\& Ethnobotanical Database --- Enriched v2.3},\n",
|
| 208 |
" author = {Wirth, Alexander},\n",
|
| 209 |
" year = {2026},\n",
|
| 210 |
" publisher = {Ethno-API},\n",
|
| 211 |
" url = {https://ethno-api.com},\n",
|
| 212 |
" doi = {10.5281/zenodo.19265853},\n",
|
| 213 |
" note = {76,907 records, 24,746 unique chemicals, 2,313 plant species,\n",
|
| 214 |
-
"
|
| 215 |
"}\n",
|
| 216 |
"```\n",
|
| 217 |
"\n",
|
|
|
|
| 5 |
"id": "cell-01",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
+
"# USDA Phytochemical & Ethnobotanical Database — Enriched v2.3.1\n",
|
| 9 |
"\n",
|
| 10 |
"**76,907 records · 24,746 compounds · 2,313 species · 5 enrichment layers**\n",
|
| 11 |
"\n",
|
|
|
|
| 203 |
"## Citation\n",
|
| 204 |
"\n",
|
| 205 |
"```bibtex\n",
|
| 206 |
+
"@misc{ethno_api_v2.3.1_2026,\n",
|
| 207 |
+
" title = {USDA Phytochemical \\& Ethnobotanical Database --- Enriched v2.3.1},\n",
|
| 208 |
" author = {Wirth, Alexander},\n",
|
| 209 |
" year = {2026},\n",
|
| 210 |
" publisher = {Ethno-API},\n",
|
| 211 |
" url = {https://ethno-api.com},\n",
|
| 212 |
" doi = {10.5281/zenodo.19265853},\n",
|
| 213 |
" note = {76,907 records, 24,746 unique chemicals, 2,313 plant species,\n",
|
| 214 |
+
" 12-column schema with PubMed, ClinicalTrials, ChEMBL, PatentsView, and PubChem enrichment}\n",
|
| 215 |
"}\n",
|
| 216 |
"```\n",
|
| 217 |
"\n",
|