names
4 rows where case_id = 2001003
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 3931996 | 2001003 2001003 | plaintiff | Evans | John | 585869 585869 | Evans, John, of London, cloth worker | 0 | |
| 3931997 | 2001003 2001003 | defendant | Stevenson | Robert | merchant | 654325 654325 | Stevenson, Robert, of Hexam, Northumb, merchant | 0 |
| 3931998 | 2001003 2001003 | defendant | Steward | Thomas | gent | 605984 605984 | Steward, Thomas, of Newcastle upon Tyne, gent | 1 |
| 3931999 | 2001003 2001003 | defendant | Bowers | Richard | draper | 586848 586848 | Bowers, Richard, of Northampton, draper | 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);