diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-10-05 19:52:12 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-10-05 19:52:12 +1100 |
| commit | df14a1112e28597483de86619dcbd57dc5b15db7 (patch) | |
| tree | d16c438d6164606f2b6706f6c4d5009a9e18b159 /backend/hist_data/README.md | |
| parent | b1d4c709cb2793745e61d85c337514b9c6c85603 (diff) | |
Add data serving scripts
Add histplorer.py, implementing the http query interface
Add unit test
Add server.py as a simple backend dev server
Update documentation
Diffstat (limited to 'backend/hist_data/README.md')
| -rw-r--r-- | backend/hist_data/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/hist_data/README.md b/backend/hist_data/README.md index 3fcb8df..96c31b5 100644 --- a/backend/hist_data/README.md +++ b/backend/hist_data/README.md @@ -11,7 +11,7 @@ This directory holds files used to generate the history database data.db. If `start_upper` is present, it and `start` denote an uncertain range of start times. Similarly for 'end' and 'end_upper'. - `fmt` indicates format info for `start`, `start_upper`, `end`, and `end_upper`. - - If 1, they denote a Julian date (with 0.5 removed to align with midnight). + - If 1, they denote a Julian date number. This allows simple comparison of events with day-level precision, but only goes back to 4713 BCE. - If 2, same as 1, but dates are preferably displayed using the Gregorian calendar, not the Julian calendar. For example, William Shakespeare's birth appears 'preferably Julian', but Samuel Johnson's does not. @@ -28,7 +28,7 @@ This directory holds files used to generate the history database data.db. Format: `id INT PRIMARY KEY, img_id INT` <br> Assocates events with images - `descs` <br> - Format: `title TEXT PRIMARY KEY, desc TEXT` <br> + Format: `id INT PRIMARY KEY, wiki_id INT, desc TEXT` <br> Associates an event's enwiki title with a short description. # Generating the Database |
