names
4 rows where case_id = 2475297
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 5400813 | 2475297 2475297 | plaintiff | Goodman | John | Goodman, John | 0 | ||
| 5400814 | 2475297 2475297 | defendant | Coke | John | yeoman | 605438 605438 | Coke, John, of Great Hampden, yeoman | 0 |
| 5400815 | 2475297 2475297 | defendant | Mastalle | John | husbandman | 625198 625198 | Mastalle, John, of Boreton, husbandman | 1 |
| 5400816 | 2475297 2475297 | defendant | Andrewes | John | sakler | 603464 603464 | Andrewes, John, of Bedford, Beds, sakler | 2 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE names (
id INTEGER PRIMARY KEY AUTOINCREMENT,
case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
surname TEXT NOT NULL,
forename TEXT,
occupation TEXT,
place_id INTEGER REFERENCES places(id),
raw_segment TEXT NOT NULL,
seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);