Alexander Wirth Claude Sonnet 4.6 commited on
Commit
639dd41
·
1 Parent(s): cab5cc6

feat: v2.1 FINAL — 10-field sample (incl. pubchem_cid + canonical_smiles), updated quickstart.ipynb + MANIFEST

Browse files

- ethno_sample_400.json: regenerated with all 10 fields (stratified: 280 with SMILES, 120 without, seed=42)
- quickstart.ipynb: updated pricing to full prices (€699/€1,349/€1,699), v2.1 filenames, 5 enrichment layers
- MANIFEST_v2.json: v2.1 SHA-256 hashes, schema_version 2.1, 71.8% PubChem fill rate

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (3) hide show
  1. MANIFEST_v2.json +27 -45
  2. ethno_sample_400.json +0 -0
  3. quickstart.ipynb +5 -5
MANIFEST_v2.json CHANGED
@@ -1,9 +1,15 @@
1
  {
2
- "schema_version": "2.0",
3
- "export_timestamp": "2026-03-16T21:10:00+00:00",
4
  "record_count": 76907,
5
  "unique_chemicals": 24746,
6
  "unique_species": 2313,
 
 
 
 
 
 
7
  "fields": [
8
  "chemical",
9
  "plant_species",
@@ -12,53 +18,29 @@
12
  "pubmed_mentions_2026",
13
  "clinical_trials_count_2026",
14
  "chembl_bioactivity_count",
15
- "patent_count_since_2020"
 
 
16
  ],
17
- "sha256_json": "cf517675c263eefb96c18a74a0238d0e142067eda2175259fde10db66a081bc3",
18
- "sha256_parquet": "cd152dd830f769a8e86c2661f0650f20bd936452835d6ee4cad60549068c7b40",
19
- "json_size_bytes": 17125604,
20
- "parquet_size_bytes": 819511,
21
  "null_counts": {
22
- "chemical": 0,
23
- "plant_species": 0,
24
  "application": 38149,
25
  "dosage": 67132,
26
- "pubmed_mentions_2026": 0,
27
- "clinical_trials_count_2026": 0,
28
- "chembl_bioactivity_count": 0,
29
- "patent_count_since_2020": 0
30
  },
31
  "enrichment_statistics": {
32
- "pubmed_mentions_2026": {
33
- "min": 0,
34
- "max": 349640,
35
- "mean": 8645.7,
36
- "non_zero_count": 60266,
37
- "non_zero_pct": 78.36
38
- },
39
- "clinical_trials_count_2026": {
40
- "min": 0,
41
- "max": 4094,
42
- "mean": 11.69,
43
- "non_zero_count": 18575,
44
- "non_zero_pct": 24.15
45
- },
46
- "chembl_bioactivity_count": {
47
- "min": 0,
48
- "max": 7679,
49
- "mean": 85.26,
50
- "non_zero_count": 24560,
51
- "non_zero_pct": 31.93
52
- },
53
- "patent_count_since_2020": {
54
- "min": 0,
55
- "max": 866143,
56
- "mean": 165.47,
57
- "non_zero_count": 28577,
58
- "non_zero_pct": 37.16
59
- }
60
  },
61
- "dqa_audit_date": "2026-03-16",
62
- "dqa_status": "PASSED",
63
- "dqa_note": "Removed 24 noise compounds (11,744 records) + 1 numeric chemical + 15,736 exact duplicates. 104,388 -> 76,907."
64
- }
 
 
 
 
 
 
 
 
1
  {
2
+ "schema_version": "2.1",
3
+ "export_timestamp": "2026-03-20T00:00:00Z",
4
  "record_count": 76907,
5
  "unique_chemicals": 24746,
6
  "unique_species": 2313,
7
+ "sha256_json": "ae86ba33d76273dc52330ca5d75234d93f8a6d3a8db106186d39470a3c1a0db0",
8
+ "sha256_parquet": "5b1050529c3e2f372f4910b5647724b6449064c3aa3ae9ece103176293919b87",
9
+ "file_sizes": {
10
+ "json_mb": 24.5,
11
+ "parquet_kb": 1194.7
12
+ },
13
  "fields": [
14
  "chemical",
15
  "plant_species",
 
18
  "pubmed_mentions_2026",
19
  "clinical_trials_count_2026",
20
  "chembl_bioactivity_count",
21
+ "patent_count_since_2020",
22
+ "pubchem_cid",
23
+ "canonical_smiles"
24
  ],
 
 
 
 
25
  "null_counts": {
 
 
26
  "application": 38149,
27
  "dosage": 67132,
28
+ "pubchem_cid": 21690,
29
+ "canonical_smiles": 21690
 
 
30
  },
31
  "enrichment_statistics": {
32
+ "pubchem_cid_filled": 55217,
33
+ "canonical_smiles_filled": 55217,
34
+ "pubchem_fill_rate_pct": 71.8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  },
36
+ "data_sources": [
37
+ "USDA Dr. Duke Phytochemical and Ethnobotanical Databases",
38
+ "NCBI PubMed (E-utilities API, 2026 snapshot)",
39
+ "ClinicalTrials.gov (API v2, 2026 snapshot)",
40
+ "ChEMBL v35 REST API",
41
+ "USPTO PatentsView (2020-2026)",
42
+ "PubChem REST API (CID + CanonicalSMILES, 2026)"
43
+ ],
44
+ "license": "CC BY 4.0",
45
+ "zenodo_doi": "10.5281/zenodo.19053087"
46
+ }
ethno_sample_400.json CHANGED
The diff for this file is too large to render. See raw diff
 
quickstart.ipynb CHANGED
@@ -17,7 +17,7 @@
17
  "cell_type": "markdown",
18
  "id": "cell-01",
19
  "metadata": {},
20
- "source": "# USDA Phytochemical & Ethnobotanical Database — Enriched v2.0\n\n**76,907 records · 24,746 compounds · 2,313 species · 4 enrichment layers**\n\n| Tier | Price | Includes |\n|------|-------|----------|\n| **Single Entity** | [299 Early Bird](https://buy.stripe.com/7sY9AS1KncAX5Pk0zCebu06?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | JSON + Parquet + SHA-256 Manifest |\n| **Team** | [549 Early Bird](https://buy.stripe.com/14AdR8bkX8kHelQ0zCebu07?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | + `duckdb_queries.sql` (20 queries) + `compound_priority_score.py` + 4 Pre-computed Views |\n| **Enterprise** | [899 Early Bird](https://buy.stripe.com/fZu00iex930nelQ824ebu08?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | + `snowflake_load.sql` + `chromadb_ingest.py` + `pinecone_ingest.py` + `embedding_guide.md` + Opportunity Matrix |\n\n**Full dataset:** [ethno-api.com](https://ethno-api.com) · **This notebook runs on the free 400-row sample.**\n"
21
  },
22
  {
23
  "cell_type": "code",
@@ -30,7 +30,7 @@
30
  "import duckdb\n",
31
  "\n",
32
  "# Load the free 400-row sample\n",
33
- "# To use full dataset: replace path with 'ethno_dataset_2026_v2.json'\n",
34
  "SAMPLE = 'ethno_sample_400.json'\n",
35
  "\n",
36
  "df = pd.read_json(SAMPLE)\n",
@@ -146,7 +146,7 @@
146
  "cell_type": "markdown",
147
  "id": "cell-07",
148
  "metadata": {},
149
- "source": "## What's Included in Each Tier\n\n### Team License (549 Early Bird, reg. €1.349) — adds to Single:\n| File | Description |\n|------|-------------|\n| `duckdb_queries.sql` | 20 production-ready queries across 5 categories (compound discovery, evidence scoring, species analysis, application intelligence, IP/pipeline) |\n| `compound_priority_score.py` | Combined evidence score calculator across all 4 layers |\n| `top500_by_pubmed.parquet` | Pre-computed Top 500 compounds by PubMed score |\n| `top500_by_trials.parquet` | Pre-computed Top 500 by ClinicalTrials count |\n| `top500_by_patent_density.parquet` | Pre-computed Top 500 by patent density |\n| `anti_inflammatory_panel.parquet` | All anti-inflammatory application records |\n\n### Enterprise License (899 Early Bird, reg. €1.699) — adds to Team:\n| File | Description |\n|------|-------------|\n| `snowflake_load.sql` | Drop-in Snowflake import script (Stage + COPY INTO + Verify) |\n| `chromadb_ingest.py` | ChromaDB vector ingest with batch upload, --resume, verification |\n| `pinecone_ingest.py` | Pinecone ingest supporting OpenAI, sentence-transformers, Pinecone inference |\n| `embedding_guide.md` | ClinicalBERT, RAG pipeline templates, cost benchmarks |\n| `compound_opportunity_matrix.csv` | Ranked compound candidates: high bioactivity × low patent density |\n| `clinical_pipeline_gaps.csv` | High-PubMed, low-trial compounds: drug discovery pipeline gaps |\n| `ethno_rag_chunks.jsonl` | Pre-chunked JSONL for direct LLM embedding (ChromaDB / Pinecone) |\n\n---\n\n**→ Purchase the full dataset:**\n\n[**Single €299 Early Bird →**](https://buy.stripe.com/7sY9AS1KncAX5Pk0zCebu06?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) &nbsp;&nbsp;[**Team €549 Early Bird →**](https://buy.stripe.com/14AdR8bkX8kHelQ0zCebu07?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) &nbsp;&nbsp;[**Enterprise €899 Early Bird →**](https://buy.stripe.com/fZu00iex930nelQ824ebu08?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03)\n"
150
  },
151
  {
152
  "cell_type": "code",
@@ -171,7 +171,7 @@
171
  "cell_type": "markdown",
172
  "id": "cell-09",
173
  "metadata": {},
174
- "source": "## Citation\n\n```bibtex\n@misc{ethno_api_v2_2026,\n title = {USDA Phytochemical \\& Ethnobotanical Database --- Enriched v2.0},\n author = {Wirth, Alexander},\n year = {2026},\n publisher = {Ethno-API},\n url = {https://ethno-api.com},\n note = {76,907 records, 24,746 unique chemicals, 2,313 plant species,\n 8-column schema with PubMed, ClinicalTrials, ChEMBL, and PatentsView enrichment}\n}\n```\n\n**Links:** [ethno-api.com](https://ethno-api.com) · [GitHub](https://github.com/wirthal1990-tech/USDA-Phytochemical-Database-JSON) · [HuggingFace](https://huggingface.co/datasets/wirthal1990-tech/USDA-Phytochemical-Database-JSON)\n\n\n---\n\n## Purchase Full Dataset\n\n| Tier | Price | |\n|------|-------|---|\n| Single Entity | ⚡ €299 (reg. €699) | [**Buy →**](https://buy.stripe.com/7sY9AS1KncAX5Pk0zCebu06?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n| Team | ⚡ €549 (reg. €1.349) | [**Buy →**](https://buy.stripe.com/14AdR8bkX8kHelQ0zCebu07?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n| Enterprise | ⚡ €899 (reg. €1.699) | [**Buy →**](https://buy.stripe.com/fZu00iex930nelQ824ebu08?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n\n> Gemäß § 19 UStG keine Umsatzsteuer.\n"
175
  }
176
  ]
177
- }
 
17
  "cell_type": "markdown",
18
  "id": "cell-01",
19
  "metadata": {},
20
+ "source": "# USDA Phytochemical & Ethnobotanical Database — Enriched v2.1\n\n**76,907 records · 24,746 compounds · 2,313 species · 5 enrichment layers**\n\n| Tier | Price | Includes |\n|------|-------|----------|\n| **Single Entity** | [€699](https://buy.stripe.com/00w6oGgFh58v6Toeqsebu02?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | JSON + Parquet + SHA-256 Manifest |\n| **Team** | [€1,349](https://buy.stripe.com/dRm7sK9cP1Wj0v06Y0ebu03?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | + `duckdb_queries.sql` (20 queries) + `compound_priority_score.py` + 4 Pre-computed Views |\n| **Enterprise** | [€1,699](https://buy.stripe.com/dRm28q0Gj1WjdhM6Y0ebu04?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) | + `snowflake_load.sql` + `chromadb_ingest.py` + `pinecone_ingest.py` + `embedding_guide.md` + Opportunity Matrix |\n\n**Full dataset:** [ethno-api.com](https://ethno-api.com) · **This notebook runs on the free 400-row sample.**\n"
21
  },
22
  {
23
  "cell_type": "code",
 
30
  "import duckdb\n",
31
  "\n",
32
  "# Load the free 400-row sample\n",
33
+ "# To use full dataset: replace path with 'ethno_dataset_2026_v2.1_FINAL.json'\n",
34
  "SAMPLE = 'ethno_sample_400.json'\n",
35
  "\n",
36
  "df = pd.read_json(SAMPLE)\n",
 
146
  "cell_type": "markdown",
147
  "id": "cell-07",
148
  "metadata": {},
149
+ "source": "## What's Included in Each Tier\n\n### Team License (€1,349, reg. €1.349) — adds to Single:\n| File | Description |\n|------|-------------|\n| `duckdb_queries.sql` | 20 production-ready queries across 5 categories (compound discovery, evidence scoring, species analysis, application intelligence, IP/pipeline) |\n| `compound_priority_score.py` | Combined evidence score calculator across all 4 layers |\n| `top500_by_pubmed.parquet` | Pre-computed Top 500 compounds by PubMed score |\n| `top500_by_trials.parquet` | Pre-computed Top 500 by ClinicalTrials count |\n| `top500_by_patent_density.parquet` | Pre-computed Top 500 by patent density |\n| `anti_inflammatory_panel.parquet` | All anti-inflammatory application records |\n\n### Enterprise License (€1,699, reg. €1.699) — adds to Team:\n| File | Description |\n|------|-------------|\n| `snowflake_load.sql` | Drop-in Snowflake import script (Stage + COPY INTO + Verify) |\n| `chromadb_ingest.py` | ChromaDB vector ingest with batch upload, --resume, verification |\n| `pinecone_ingest.py` | Pinecone ingest supporting OpenAI, sentence-transformers, Pinecone inference |\n| `embedding_guide.md` | ClinicalBERT, RAG pipeline templates, cost benchmarks |\n| `compound_opportunity_matrix.csv` | Ranked compound candidates: high bioactivity × low patent density |\n| `clinical_pipeline_gaps.csv` | High-PubMed, low-trial compounds: drug discovery pipeline gaps |\n| `ethno_rag_chunks.jsonl` | Pre-chunked JSONL for direct LLM embedding (ChromaDB / Pinecone) |\n\n---\n\n**→ Purchase the full dataset:**\n\n[**Single €699 →**](https://buy.stripe.com/00w6oGgFh58v6Toeqsebu02?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) &nbsp;&nbsp;[**Team €1,349 →**](https://buy.stripe.com/dRm7sK9cP1Wj0v06Y0ebu03?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) &nbsp;&nbsp;[**Enterprise €1,699 →**](https://buy.stripe.com/dRm28q0Gj1WjdhM6Y0ebu04?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03)\n"
150
  },
151
  {
152
  "cell_type": "code",
 
171
  "cell_type": "markdown",
172
  "id": "cell-09",
173
  "metadata": {},
174
+ "source": "## Citation\n\n```bibtex\n@misc{ethno_api_v2.1_2026,\n title = {USDA Phytochemical \\& Ethnobotanical Database --- Enriched v2.1},\n author = {Wirth, Alexander},\n year = {2026},\n publisher = {Ethno-API},\n url = {https://ethno-api.com},\n note = {76,907 records, 24,746 unique chemicals, 2,313 plant species,\n 10-column schema with PubMed, ClinicalTrials, ChEMBL, and PatentsView enrichment}\n}\n```\n\n**Links:** [ethno-api.com](https://ethno-api.com) · [GitHub](https://github.com/wirthal1990-tech/USDA-Phytochemical-Database-JSON) · [HuggingFace](https://huggingface.co/datasets/wirthal1990-tech/USDA-Phytochemical-Database-JSON)\n\n\n---\n\n## Purchase Full Dataset\n\n| Tier | Price | |\n|------|-------|---|\n| Single Entity | ⚡ €299 (reg. €699) | [**Buy →**](https://buy.stripe.com/00w6oGgFh58v6Toeqsebu02?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n| Team | ⚡ €549 (reg. €1.349) | [**Buy →**](https://buy.stripe.com/dRm7sK9cP1Wj0v06Y0ebu03?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n| Enterprise | ⚡ €899 (reg. €1.699) | [**Buy →**](https://buy.stripe.com/dRm28q0Gj1WjdhM6Y0ebu04?utm_source=github&utm_medium=notebook&utm_campaign=launch_2026_03) |\n\n> Gemäß § 19 UStG keine Umsatzsteuer.\n"
175
  }
176
  ]
177
+ }