How kartik-ey17/research-paper-nutrition works
This repository is a cleaned Protein-NAP dataset, not an application with a user-facing runtime workflow. Its principal use is to work with cleaned food and recipe nutrition, relate foods to recipes and meals, and use the normalized meal-plan hierarchy and reference tables. The README documents these dataset roles and relationships; the sampled main.py contains no source excerpt, so the graph shows documented data relationships rather than an execution pipeline.
Main entry points: foods_clean.csv Foods · recipe_components_clean.csv Recipe components · meal_plan_versions_clean.csv Plan versions · meals_clean.csv Meals
Components 15
Food data
- Foods
tables/foods_clean.csv - Food nutrients
tables/food_nutrients_long.csv - Food measures
tables/food_measures_clean.csv
Recipes
- Recipes
tables/recipes_clean.csv - Recipe components
tables/recipe_components_clean.csv
Meal planning
- Meal plans
tables/meal_plans_clean.csv - Plan versions
tables/meal_plan_versions_clean.csv - Meals
tables/meals_clean.csv - Meal components
tables/meal_components_clean.csv
References and audit
- Nutrients
tables/nutrients_clean.csv - Food groups
tables/food_groups_clean.csv - Food sources
tables/food_sources_clean.csv - Activities
tables/activities_clean.csv - Recipe categories
tables/recipe_categories_clean.csv - Cleaning report
audit/cleaning_report.txt
Connections 7
- Food nutrients → Foods: pivoted into
- Recipe components → Recipes: relates to
- Recipe components → Foods: references foods
- Meal plans → Plan versions: has versions
- Plan versions → Meals: organizes meals
- Meals → Meal components: has components
- Meal components → Foods: references foods