home / cp40x

names

8 rows where case_id = 1956191

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3794602 1956191 1956191 plaintiff Churche Henry (legal representative)   Churche, Henry, executrix of 0
3794603 1956191 1956191 plaintiff Churche Ellen widow   Churche, Ellen, widow 1
3794604 1956191 1956191 defendant Barker Reginald (legal representative) 604393 604393 Barker, Reginald, of Halys, laborer, executrix of 0
3794605 1956191 1956191 defendant Barker Christine widow 604393 604393 Barker, Christine, of Halys, widow 1
3794606 1956191 1956191 defendant Leycett John shoemaker 588021 588021 Leycett, John, of Becclys, Suff, shoemaker 2
3794607 1956191 1956191 defendant Horsley George baker 588241 588241 Horsley, George, of Pakefeld, Suff, baker 3
3794608 1956191 1956191 defendant Ryngaburgh Alexander currier 585934 585934 Ryngaburgh, Alexander, of Becclys, currier 4
3794609 1956191 1956191 defendant Cok John clerk 585934 585934 Cok, John, of Becclys, clerk 5

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 14.343ms