Nutritional Information per food item #2748
Replies: 3 comments 6 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.
-
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