home / cp40x

names

8 rows where case_id = 2270375

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4716200 2270375 2270375 plaintiff Weston John (legal representative) 586341 586341 Weston, John, of Elyngham, executors of 0
4716201 2270375 2270375 plaintiff Marchall Thomas   585936 585936 (Marchall, Thomas, of Norwich 1
4716202 2270375 2270375 plaintiff Tomas John     Tomas, John 2
4716203 2270375 2270375 plaintiff Tomas Margaret formerly wife of John Weston   Margaret, his wife, formerly wife of John Weston 3
4716204 2270375 2270375 defendant Turkeys John baker 586341 586341 Turkeys, John, of Elyngham, baker 0
4716205 2270375 2270375 defendant Cook John thatcher 586341 586341 Cook, John, of Elyngham, thatcher 1
4716206 2270375 2270375 defendant Rote William husbandman 789991 789991 Rote, William, of Lyrkestede, husbandman 2
4716207 2270375 2270375 defendant Skut Roger fuller 789992 789992 Skut, Roger, of Redenahle, Suffolk, fuller 3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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);
Powered by Datasette · Queries took 15.874ms