home / cp40x

names

8 rows where case_id = 2489551

✎ 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
5448855 2489551 2489551 plaintiff Martin John mercer 585869 585869 Martin, John, of London, mercer 0
5448856 2489551 2489551 defendant Swavsey Richard esq 626047 626047 Swavsey, Richard, of Yerdeley, Herts, esq 0
5448857 2489551 2489551 defendant Pynke Stephen   888687 888687 Pynke, Stephen, of Atwyke, in Holderness, Yorks, vicar 1
5448858 2489551 2489551 defendant Throsell Robert gent 592372 592372 Throsell, Robert, of Roughey, Sussex, gent 2
5448859 2489551 2489551 defendant Kebell William gent 888688 888688 Kebell, William, of Walyngton, Norf, gent 3
5448860 2489551 2489551 defendant Fenys John knight   Fenys, John, knight, executors of 4
5448861 2489551 2489551 defendant Gogh William yeoman 888689 888689 (Gogh, William, of Haukharst, Kent, yeoman 5
5448862 2489551 2489551 defendant Gogh Alice     Alice, his wife 6

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