Skip to content

Data Store

Mark edited this page Nov 27, 2026 · 1 revision

Data Store

The data folder is --data <dir> (default: ElexonConsole under the local app-data folder).

<data>/tags.jsonl                  one line per tag
<data>/capture/yyyy-MM-dd.jsonl    raw capture, one file per UTC fetch day
<data>/index/index.json            per settlement date and dataset: record count, periods seen, first/last fetch, full-day flag

A capture line is {"dataset":..,"fetchedUtc":..,"raw":<exactly the JSON Elexon published>}. Live capture covers FREQ, BOALF, BOAV, FUELINST, INDO_ITSDO, DISEBSP, SYSWARN, LOLPDRM, OCNMFD2, MID and REMIT (about 25 MB a day, mostly BOALF); unit drill-downs add PN, BOD, MELS and MILS; the bulk PN/MEL/MIL table is not captured. The Settlement screen reads a past day from the capture when the index says that dataset is complete for the day (all periods present, or a full-day fetch that ended after the day did), otherwise it fetches from Elexon and captures the result, which adds about 35 MB for a past day viewed for the first time. Capture files can be deleted at any time: an index entry whose capture is gone falls back to Elexon.

Clone this wiki locally