Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use product data and scan data to compute the main countries where a product is sold #5086

Open
Tracked by #5514
stephanegigandet opened this issue Apr 1, 2021 · 1 comment
Assignees
Labels
scan statistics Scan statistics allow us to concentrate efforts on impactful products, and add countries where sold ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.

Comments

@stephanegigandet
Copy link
Contributor

I plan to create a new MainCountries module:

Products on Open Food Facts have a countries_tags field that list the countries
where a product is sold. The information is entered by users, food producers,
and additional countries are added by the scanbot.pl script if a product
is scanned by 5 or more different IP addresses in a specific country.

In some cases, products may be marked as sold in a country even it is not widely
sold in that country. For instance, a lot of discount shops import products that
are intended for sale to other countries. Scan data can be tricky as well:
people who live close to a border often shop in another country, and they
may scan products when they are back in their home country.

This module tries to determine which countries a product is "mostly" sold in.

The determination can be made on different factors:

  • scan data
  • languages
  • brands
  • etc.
@stephanegigandet stephanegigandet added the ✨ Feature Features or enhancements to Open Food Facts server label Apr 1, 2021
@stephanegigandet stephanegigandet self-assigned this Apr 1, 2021
@teolemon teolemon added this to the Location Location Location milestone Apr 1, 2021
@teolemon teolemon added the scan statistics Scan statistics allow us to concentrate efforts on impactful products, and add countries where sold label Apr 1, 2021
@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jul 1, 2021
@teolemon teolemon removed the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jul 19, 2021
Copy link
Contributor

This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jan 31, 2024
@teolemon teolemon removed the ✨ Feature Features or enhancements to Open Food Facts server label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scan statistics Scan statistics allow us to concentrate efforts on impactful products, and add countries where sold ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants