Jump to content

Metrics: Difference between revisions

61 bytes added ,  9 January 2023
m
No edit summary
Line 35: Line 35:


* country: the ISO 2-letter code of the country (ISO_3166-1 alpha-2), or "world" for metrics on the full database. Only a selected subset of country is available.
* country: the ISO 2-letter code of the country (ISO_3166-1 alpha-2), or "world" for metrics on the full database. Only a selected subset of country is available.
* facet: the name of the facet (`ingredients-analysis`, `data-quality`,...)
* facet: the name of the facet, it's the lower-case facet name with '-' replaced with '_' (ex: `data_quality` instead of `data-quality`)
* tag_name: name of the tag
* tag_name: name of the tag
* tag_id: identifier of the tag (ex: `en:alcoholic-beverages-category-without-alcohol-value`), this is the field you will probably have to use
* tag_id: identifier of the tag (ex: `en:alcoholic-beverages-category-without-alcohol-value`), this is the field you will probably have to use
* products: number of products with the given tag
* products: number of products with the given tag
* percent: % of products with the given tag over the total number of product for the country
* percent: % of products with the given tag over the total number of product for the country