Changes

Jump to navigation Jump to search
Test with 100 oils
Line 45: Line 45:  
{{!}} {{{code}}}
 
{{!}} {{{code}}}
 
{{!}} {{{name}}}
 
{{!}} {{{name}}}
 +
}}
 +
|}
 +
 +
== Data quality test ==
 +
 +
{{#get_web_data:
 +
url=https://world.openfoodfacts.org/category/vegetable-oils/nutrition-grade/b.json&fields=code,product_name&page_size=100
 +
|format=JSON
 +
|use jsonpath
 +
|data=code=$.products[*].code,name=$.products[*].product_name
 +
|cache seconds=360
 +
|use stale cache
 +
}}
 +
 +
Vegetable oils with Nutri-Score B:
 +
{| class="wikitable"
 +
! Name
 +
! Code
 +
{{#for_external_table:<nowiki/>
 +
{{!}}-
 +
{{!}} {{{name}}}
 +
{{!}} {{Product|{{{code}}}}}
 
}}
 
}}
 
|}
 
|}

Navigation menu