-
-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: script to extract historical data for a field (e.g. Nutri-Score…
…) for a set of products (#10408) Needed to get Nutri-Score labels on packaging, at different years, for a study. Sample usage for the Nutricourses study: ``` off@off:/home/stephane/nutricourses$ (off) more nutricourses.sh #/bin/sh export PERL5LIB=/srv/off/lib /srv/off/scripts/extract_historical_product_data.pl --min-year 2017 --max-year 2024 --recompute-taxonomies --field label s_tags=en:nutriscore-grade- --omit-prefix --codes-file nutricourses.csv ``` Sample output: ![image](https://github.com/openfoodfacts/openfoodfacts-server/assets/8158668/a7517008-9b6f-4e87-a71d-0118c4b0c640)
- Loading branch information
1 parent
32527e1
commit d40bcf6
Showing
4 changed files
with
425 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.