This repository includes a script to convert the CSV into a normalized JSON file for the app.
Natural Health Hacks - Health-Aid.csv— source data (as shared)scripts/parse_health_aid.py— parser and normalizerdata/health_aid.json— generated output (84 remedies)
python3 "scripts/parse_health_aid.py"The script will write the JSON to data/health_aid.json.
- The parser fixes some common misspellings and normalizes spacing, but avoids heavy edits; please review content for medical accuracy.
- Grouping logic: a new remedy begins when the
Itemscolumn is non-empty; subsequent rows with an emptyItemsbelong to the previous remedy. ingredientsare simple strings for now; we can structure them later as{name, quantity, unit}.