heissepreise/stores
Mario Zechner 303d25ccb5 Categories for Billa & Spar, infra to add catgories for other stores.
Billa maps directly to the canonical categories. Spar uses a mapping file stores/spar-categories.json.

Each store has a generateCategoryMapping() function which is called once in analysis.js:updateData() and analysis.js:replay(). The function is responsible for

* Fetching the latest categories
* Merging them with already mapped categories
* Report new categories that haven't been mapped yet
* Report categories that have been mapped but are no longer part of the latest set of categories
* Save the merged mappings to disk

This schema might not work for all stores, in which case updateData() and replay() will use a knn approach to figure out the category for an item. See #81
2023-06-21 01:29:00 +02:00
..
billa.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
dm-de.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
dm.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
hofer.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
index.js Spar Slovenia. 2023-06-12 13:08:51 +02:00
lidl.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
mpreis.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
penny.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
rewe-de.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
spar-categories.json Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
spar-si.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
spar.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
unimarkt.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
utils.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00