Jump to content

Data fields: Difference between revisions

More on quantity
(→‎Ingredients: add taxonomy)
(More on quantity)
Line 43: Line 43:
==== Quantity ====
==== Quantity ====
This is the quantity of the product, with the corresponding number of portions or unit; example: "230g", "6" (for 6 eggs), etc.
This is the quantity of the product, with the corresponding number of portions or unit; example: "230g", "6" (for 6 eggs), etc.
As indicated on the product. If we can deduce the quantity in grams it can be used to calculate some things such as the carbon impact.


In the database, the technical name for this field is <code>quantity</code>.
In the database, the technical name for this field is <code>quantity</code>.
See [https://world.openfoodfacts.org/data-quality/quantity-not-recognized quantities that are not recognized].


See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+quantity+label%3Aquantity issues related to <code>quantity</code>].
See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+quantity+label%3Aquantity issues related to <code>quantity</code>].
Line 50: Line 54:


==== Ingredients ====
==== Ingredients ====
This field lists the ingredients of the product. This field is '''one of the most important''' as it is used for:
This field lists the [[ingredients]] of the product. This field is '''one of the most important''' as it is used for:
* Nova calculation
* Nova calculation
* Nutri-Score calculation: it is used to calculate the proportion of fruit and nuts
* Nutri-Score calculation: it is used to calculate the proportion of fruit and nuts
Line 63: Line 67:


See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Aingredients issues related to <code>ingredients</code>].
See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Aingredients issues related to <code>ingredients</code>].


==== Substances or products causing allergies or intolerances ====
==== Substances or products causing allergies or intolerances ====