<<

NAME

ProductOpener::NutritionCiqual - load data from the Ciqual nutritional database

DESCRIPTION

A copy of the Ciqual database is in external-data/ciqual/calnut

The present data and information are made available to the public by the French Agency for Food, Environmental and Occupational Health & Safety (ANSES). They must not be reproduced in any form without clear indication of the source:

"Anses. 2020. Ciqual French food composition table."

https://ciqual.anses.fr/

VARIABLES

%ciqual_data

Hash table with the Ciqual ingredient id as a key, mapped to a hash of Open Food Facts nutrients id to values.

FUNCTIONS

load_ciqual_data()

Loads the Ciqual table + the Ciqual CALNUT extended table.

load_ciqual_table()

Loads the Ciqual table. Some Ciqual categories may have missing values for some nutrients.

load_ciqual_calnut_table()

Loads the extended Ciqual CALNUT table. The CALNUT table contains values for all nutrients (with missing values extrapolated), but it does not contain data for all CIQUAL categories.

Documentation of Ciqual CALNUT: https://ciqual.anses.fr/cms/sites/default/files/inline-files/Table%20CALNUT%202020_doc_FR_2020%2007%2007.pdf

<<