Nutritional Information per food item #2748
Replies: 6 comments 8 replies
-
The main problem here is that a recipe has an |
Beta Was this translation helpful? Give feedback.
-
Specifically came looking for thoughts along these lines and I would also love more in-depth nutritional data! One idea: Nutritional data can be pulled from https://fdc.nal.usda.gov/ there is an API that can be used as well. Might require naming ingredients more specifically ie instead of just 'flour', you may need to put 'Flour, wheat, all-purpose, enriched, unbleached' (nutritional info for this particular entry here> https://fdc.nal.usda.gov/fdc-app.html#/food-details/789951/nutrients) or maybe a drop down, or search-based list population to choose from when importing a recipe. Such as: Ingredient listed as Flour, please select which type: Flour, 00; Flour, almond; Flour, amaranth; Flour, pastry, unenriched, unbleached; Flour, wheat, all-purpose, enriched, unbleached; etc.... From what I've seen, the data is collected by using 100 gram samples, so this might only work if the ingredient itself is listed in grams/weight, unless an ingredient conversion is built in. Using https://fdc.nal.usda.gov/ would also enable more in depth nutritional data, such as vitamin and mineral composition as well, and it would regularly update as new ingredients are added or retested. There are also legacy entries such as: https://fdc.nal.usda.gov/fdc-app.html#/food-details/168936/nutrients that have even more details, such as amino acids and the like, but not sure how those fit in with the API. EDIT: The sheets are based entirely on weight and ratios (baker's %), but I built in some conversion tables into the documents as well. Costing and Nutrition database: https://docs.google.com/spreadsheets/d/1mr6b6tyhLIi48sHVy7gICHRgDab3vKsxC1cuOxmEM5Q/edit?usp=drive_link Recipe Collection template: https://docs.google.com/spreadsheets/d/173_fO3BrywULO2Th_M1MOACZ-MyjNyp9yDgL-PKHQXo/edit?usp=drive_link |
Beta Was this translation helpful? Give feedback.
-
Well, in order to preserve sanity and keep thing simple, it could be enabled like an optional feature to manually manage a list of ingredients with associated nutritional facts on a per gram basis, since grams are internationally used in this field, so that when using such ingredient in a recipe, the nutritional facts could be auto-calculated and updated depending on serving size too. Or you could also get that info from a database like apps like MyFitnessPal do. Thing is, if I have to keep track of macros/calories and the recipe database forces me to re-calculate nutritional facts every time I change something in the recipe manually, at that point I'd rather stick to my excel sheet alone, as the mealie would just be redundant eye candy. |
Beta Was this translation helpful? Give feedback.
-
Tandoor does include unit conversions and aggregates calorie and macro information from the food items. While I understand this is difficult to implement I feel it is a critical piece toward something that is missing from most meal planners:
As it is if I'm trying to hit 150g of protein I'm still doing all of that by hand which defeats the point of a meal planner. At that point it's just a notepad with extra steps. Would love to see someone create this on a self hosted service. It's present on lots of web based apps but I don't really want a cloud solution. |
Beta Was this translation helpful? Give feedback.
-
I used to use this app for this tally and it handles unit conversions for you: If you change the unit drop down it will recalculate. Once you add multiple ingredients, it will tally the full recipe: My guess is its source uses a single unit and internally it has a table for conversions between units |
Beta Was this translation helpful? Give feedback.
-
I also think the user would greatly benefit from providing nutrition information per ingredient rather then per recipe.
I did not (yet) contribute to mealie and therefore cannot say how easy things are to implement, but after using it, it looks quite well structured and I do imagine the code and database to be structure quite good as well. I would be happy to hear some feedback and also open to start working things I listed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Please provide a concise description of the problem that would be addressed by this feature.
Currently, nutritional info needs to be set per recipe. IMO it would make a lot more sense to have this info on a food item level and then just aggregate for each recipe.
Could then be combined with existing databases like fatsecret to get the nutritional information of common food items automatically during seeding.
Please provide a concise description of the feature that would resolve your issue.
Add nutritional info per food item
Please consider and list out some caveats or tradeoffs made in your design decision
Might break existing recipe nutritional info, but if it's implemented in a way that nutritional info can still be set manually per recipe to override default values (in cases where some food items are unavailable in list of food items for instance) then it should be fine.
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions