So far, my concern has been to look for databases for common and branded foods. I found out a few things:
- The US Department of Agriculture has a database of foods called: FoodData Central. Issue: the information is not stored as a relational database. This makes querying very difficult if you want a specific name, nutrient, etc.
- Nutritionix has a relational database of food, and this will probably be my solution.
I'm currently trying input all the necessary Nutritionix information into my PostgreSQL server. Information is spread across different CSV files, so its been a little difficult.
Top comments (0)