home / cp40x

names

7 rows where case_id = 2350985

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4980050 2350985 2350985 plaintiff Smyth Thomas (legal representative) 586117 586117 Smyth, Thomas, of Coventry, walker, executors of 0
4980051 2350985 2350985 plaintiff Morys John     (Morys, John 1
4980052 2350985 2350985 defendant Sponer William tanner 595741 595741 Sponer, William, of Nuneton, tanner 0
4980053 2350985 2350985 defendant Hudde John husbandman 595741 595741 Hudde, John, of Nuneton, husbandman 1
4980054 2350985 2350985 defendant Thorp John weaver 595741 595741 Thorp, John, of Nuneton, weaver 2
4980055 2350985 2350985 defendant Wryght John carpenter 595741 595741 Wryght, John, of Nuneton, carpenter 3
4980056 2350985 2350985 defendant Deyster John baker 595741 595741 Deyster, John, of Nuneton, baker 4

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.341ms