An important info for taxonomy is the actual usage of each entry in openfoodfacts database.
We could have a process to join openfoodfacts-query statistics with taxonomy entry, ideally at import time, with an option to refresh those stats manually (an API and an action in the interface).
### Tasks
- [ ] add settings and a module to join openfoodfacts-query and make stats requests
- [ ] Join openfoodfacts-query statistics usage in the taxonomy (at import time + add an API)
- [ ] integrate statistics visualization in the interface + add a button to update statistics in the interface
- [ ] Add a sort option by usage in the search page
Note: one important thing is to prefix statistics with short project name (off for openfoodfacts, obf for openbeautyfacts, to be able to use stats for more than one project in the future).
An important info for taxonomy is the actual usage of each entry in openfoodfacts database.
We could have a process to join openfoodfacts-query statistics with taxonomy entry, ideally at import time, with an option to refresh those stats manually (an API and an action in the interface).
Note: one important thing is to prefix statistics with short project name (off for openfoodfacts, obf for openbeautyfacts, to be able to use stats for more than one project in the future).