openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
GNU Affero General Public License v3.0
611 stars 357 forks source link

Show how much of the 100 g is not in the nutritional values. #533

Open aleksejrs opened 7 years ago

aleksejrs commented 7 years ago

What

Add: "* the rest: 25,1 g".

A complication: http://world.openfoodfacts.org/product/0633982100026 lists "Dietary fiber" under "Carbohydrates", but OFF counts it separately, resulting in a total of 101.6604 g.

aleene commented 7 years ago

Fiber under carbohydrates is the US style. Maybe you need a switch for this on the edit-page.

If the total is not 100%, what is the rest? Water?

aleksejrs commented 7 years ago

Water, dietary fiber (e.g. non-carbohydrate one), maybe bones.

TaciteOFF commented 7 years ago

My proposal would be contacting manufacturers and ask them directly to see what we miss. If you find products from France with that issue, I'll do it.

aleksejrs commented 7 years ago

TaciteOFF, can you find a product from France without that issue?

TaciteOFF commented 7 years ago

Oh yeah, my bad, I was looking at portion instead of 100g