3 ms·
OpenFoodFacts offers variety of options to consume their data: https://world.openfoodfacts.org/data https://world.openfoodfacts.org/data. From my experience, th
by umangsh 4y ago
OpenFoodFacts offers variety of options to consume their data: https://world.openfoodfacts.org/data https://world.openfoodfacts.org/data. From my experience, their coverage for packaged foods from various countries is amazing, though it can be fairly noisy.
In US, USDA provides a more curated dataset through FoodData Central (https://fdc.nal.usda.gov/ https://fdc.nal.usda.gov/) - smaller dataset but higher quality (nutrient coverage, number of samples tested, etc).
- stopachka 4y agoI played with both, and was indeed surprised with how good the USDA dataset was. For most scenarios, you can get away with even their "Foundation Foods" database. Users can use the foundation foods to approximate various meals, and it usually has better accuracy
- crispyambulance 4y agoYes, USDA foundation foods is very good for estimating calories/nutrients by ingredients, perfect for getting caloric content and nutrients of a recipe. Nutritionix is very good for packaged foods, they got both an API and an app which can accept barcode scans. I’ve also played around with plain google searches “calories <food> <x> g” works great for many simple items if all you care about is calories.
- umangsh 4y agoFoundation foods data includes few hundred foods and absolutely sufficient for meal tracking if you cook at home and measure portions. Another cool thing about the data set is that USDA publishes individual samples from across the country used to derive foundation food nutrition data, for e.g https://fdc.nal.usda.gov/fdc-app.html#/food-details/1999632/samples https://fdc.nal.usda.gov/fdc-app.html#/food-details/1999632/..., which helps visualize changing nutritional trends for foods with location and time (https://news.ycombinator.com/item?id=31229335 https://news.ycombinator.com/item?id=31229335).
- jcgoette 4y agoI'm a big fan of NCCDB. http://www.ncc.umn.edu/ndsr-database-page/ http://www.ncc.umn.edu/ndsr-database-page/
- umangsh 4y agoInteresting, I haven't come across this dataset before. What do you like about it? How does it compare to USDA or OpenFoodFacts if you've used either of them?