Mario Zechner
9646f07db5
More charting changes. restore.js can now take a h43z.json file and merge it with the restored history. Ask Mario for the data.
2023-06-14 17:07:02 +02:00
Mario Zechner
7304b4d4b0
Fix restore.js
2023-06-03 20:11:59 +02:00
Mario Zechner
3638b80c02
Refactor migration, switch from gzip to brotli compression. See #44
...
See migration.js if you want to manually convert raw data files between formats.
2023-06-03 00:01:41 +02:00
Mario Zechner
23f512087e
Refactored and fix #55
...
- `readJson()` now just checks for the file extension to decide whether to uncompress instead of taking a flag.
- moved migration logic from index.js to analysis.js:migrateToGzip
- fixed `restore()` in analysis.js
- also calling `migrateToGzip()` in replay.js
- Fix billa canonicalization for Dossier data
- Fix spar canonicalization for Dossier data and data from 2022.
2023-06-02 18:34:14 +02:00
Mario Zechner
8bf0d65d89
Merge branch 'main' into compress-json
2023-06-02 16:56:22 +02:00
Mario Zechner
c6bbd0e03b
Increased maxWidth to 150 in prettier config, formatted all the things. See #52 .
2023-06-02 16:45:54 +02:00
Christian Tschugg
02bd7e5ff8
Compress raw data files on disk, fixes badlogic/heissepreise#51
2023-06-02 16:24:58 +02:00
Mario Zechner
f26b5c3625
Closes #34
2023-05-30 10:34:25 +02:00
Mario Zechner
4d7645efaf
Add query link generation.
2023-05-26 11:28:40 +02:00
Mario Zechner
9b907b52b1
Fix up restore(), mergePriceHistory(), sort items by store and name before writting canonical list. Closes #23
2023-05-26 08:56:58 +02:00
Mario Zechner
ff569df7fb
Restore updates data.
2023-05-22 13:54:57 +02:00
Mario Zechner
46bc81dff3
Fix Billa weighted item prices analogously to Spar. See #10
2023-05-20 15:38:40 +02:00