names
3 rows where case_id = 2533709
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 5596139 | 2533709 2533709 | plaintiff | Cage | John | Cage, John | 0 | ||
| 5596140 | 2533709 2533709 | defendant | Moleyns | John | plumber | 586953 586953 | Moleyns, John, of Sudbury, plumber | 0 |
| 5596141 | 2533709 2533709 | defendant | Ayley | John | smith | 607450 607450 | Ayley, John, of Stoke juxta Clare, smith | 1 |
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);