This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 159
Create additive warning cards #173
Comments
|
2 tasks
teolemon
changed the title
Show overexposure risk for additives (from the taxonomy)
Create additive warning cards
Oct 19, 2019
Hello, I have 6 months experience with Swift. I'm new to GitHub and I would like to help. |
@khoitruongminh |
@teolemon can you assign this to me. I take it. |
@khoitruongminh assigned 👍 |
Hello, I would like to work on this! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Show overexposure risk for additives on the product, and show info from the taxonomy when clicking on it.
Proposed implementation
Example on the web version
https://world.openfoodfacts.org/additive/e250-sodium-nitrite
Taxonomy file
https://static.openfoodfacts.org/data/taxonomies/additives.json
Excerpt of the taxonomy for 1 additive:
"en:e150c":{
"efsa_evaluation_adi":{
"en":"100"
},
"efsa_evaluation_url":{
"en":"http://dx.doi.org/10.2903/j.efsa.2011.2004"
},
"efsa_evaluation_date":{
"en":"2011-03-08"
},
"efsa":{
"en":"http://www.efsa.europa.eu/fr/efsajournal/doc/3030.pdf"
},
"additives_classes":{
"en":"en:colour"
},
"name":{
"pt":"E150c - Caramelo de amónia",
"da":"E150c - Ammonieret karamel",
"lt":"E150c - Amoniakinė karamelė",
"es":"E150c - Caramelo amónico",
"nl":"E150c - Ammoniakkaramel",
"mt":"E150c - Karamella tal-ammonja",
"cs":"E150c - Amoniakový karamel",
"sl":"E150c - Amonijev karamel",
"sk":"E150c - Amoniakový karamel",
"lv":"E150c - Amonija karamele",
"fr":"E150c - Caramel ammoniacal",
"fi":"E150c - Ammoniummenetelmän sokerikulööri",
"pl":"E150c - Karmel amoniakalny",
"et":"E150c - Ammooniumkaramell",
"en":"E150c - Ammonia caramel",
"el":"E150c - Εναμμωνιο καραμελοχρωμα",
"ro":"E150c - Caramel amoniacal",
"it":"E150c - Caramello ammoniacale",
"hu":"E150c - Ammóniás karamell",
"de":"E150c - Ammoniak-zuckerkulör",
"bg":"E150c - Амониев карамел",
"sv":"E150c - ammoniakprocessen"
},
"e_number":{
"en":"150c"
},
"efsa_evaluation_exposure_mean_greater_than_adi":{
"en":"en:children, en:toddlers"
},
"efsa_evaluation":{
"en":"Scientific opinion on the re-evaluation of caramel colours -E 150 a,b,c,d- as food additives"
},
"efsa_evaluation_exposure_95th_greater_than_adi":{
"en":"en:adults, en:children, en:toddlers"
},
"efsa_evaluation_overexposure_risk":{
"en":"en:high"
}
},
Icon SVG files
https://static.openfoodfacts.org/images/misc/additives-efsa-evaluation-overexposure-risk-icon-moderate.svg
https://static.openfoodfacts.org/images/misc/additives-efsa-evaluation-overexposure-risk-icon-high.svg
The text was updated successfully, but these errors were encountered: