home / cp40x

names

6 rows where case_id = 2452182

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5323725 2452182 2452182 plaintiff Pemberton Hugh tailor 585869 585869 Pemberton, Hugh, of London, tailor 0
5323726 2452182 2452182 defendant Pole William shoemaker 622375 622375 Pole, William, of Preston, Lancs, shoemaker 0
5323727 2452182 2452182 defendant Pole Henry shoemaker 587004 587004 Pole, Henry, of Preston, shoemaker 1
5323728 2452182 2452182 defendant Holande Robert gent 873383 873383 Holande, Robert, of Holande, Lncs, gent 2
5323729 2452182 2452182 defendant Aspenall Nicholas barker 788185 788185 Aspenall, Nicholas, of Weryngton, Lancs, barker 3
5323730 2452182 2452182 defendant Lyndeley John shoemaker 873384 873384 Lyndeley, John, of Hyndeley, Lancs, shoemaker 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.987ms