home / cp40x

names

8 rows where case_id = 1869105

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3604607 1869105 1869105 plaintiff Hadley Richard grocer   Hadley, Richard, grocer, executors of 0
3604608 1869105 1869105 plaintiff Hadley John     (Hadley, John 1
3604609 1869105 1869105 plaintiff Clement John goldsmith   Clement, John, goldsmith 2
3604610 1869105 1869105 plaintiff Trappe Nicholas     Trappe, Nicholas 3
3604611 1869105 1869105 defendant Brewester John gent 591512 591512 Brewester, John, of Waltham Abbey, Essex, gent 0
3604612 1869105 1869105 defendant Bryght John butcher 586985 586985 Bryght, John, of Waltham Abbey, butcher 1
3604613 1869105 1869105 defendant Egge Richard gent 586697 586697 Egge, Richard, of Shrewsbury, gent 2
3604614 1869105 1869105 defendant Shelley Henry husbandman 588473 588473 Shelley, Henry, of Nasyng, Essex, husbandman 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 8.974ms