Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Data generation (Health Aid)

This repository includes a script to convert the CSV into a normalized JSON file for the app.

Files

  • Natural Health Hacks - Health-Aid.csv — source data (as shared)
  • scripts/parse_health_aid.py — parser and normalizer
  • data/health_aid.json — generated output (84 remedies)

Run

python3 "scripts/parse_health_aid.py"

The script will write the JSON to data/health_aid.json.

Notes

  • 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 Items column is non-empty; subsequent rows with an empty Items belong to the previous remedy.
  • ingredients are simple strings for now; we can structure them later as {name, quantity, unit}.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages