diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-12-28 20:49:13 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-12-28 20:49:13 +1100 |
| commit | 4ad7206443660587a15a7b47384b927188155da8 (patch) | |
| tree | e925a1169bcf48b5b9a165f6202b0e1e7cdbca21 /backend/hist_data/README.md | |
| parent | db9321ca32f283f7fd59e2e8b5f8a695c66fce98 (diff) | |
Convert 'scores' table to 'events_disp', removing 'scores' column
Diffstat (limited to 'backend/hist_data/README.md')
| -rw-r--r-- | backend/hist_data/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/hist_data/README.md b/backend/hist_data/README.md index 1a832ef..b557b14 100644 --- a/backend/hist_data/README.md +++ b/backend/hist_data/README.md @@ -33,9 +33,9 @@ This directory holds files used to generate the history database data.db. - `dist`: <br> Format: `scale INT, unit INT, count INT, PRIMARY KEY (scale, unit)` <br> Maps scale units to event counts. -- `scores`: <br> - Format: `id INT, scale INT, score INT, PRIMARY KEY (id, scale)` <br> - Maps events to score values for each scale (used to show events by popularity and uniformity across scale). +- `event_disp`: <br> + Format: `id INT, scale INT, PRIMARY KEY (id, scale)` <br> + Maps events to scales they are 'displayable' on (used to make displayed events more uniform across time). # Generating the Database @@ -83,5 +83,5 @@ Some of the scripts use third-party packages: ## Remove Events Without Images/Descs 1. Run `reduce_event_data.py` to remove data for events that have no image/description. -## Generate Distribution and Score Data -1. Run `gen_score_data.py`, which add the `dist` and `scores` tables. +## Generate Distribution and Displayability Data +1. Run `gen_disp_data.py`, which add the `dist` and `event_disp` tables. |
