home / cp40x

names

6 rows where case_id = 1911710

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3654635 1911710 1911710 plaintiff Bankes John merchant tailor 585869 585869 Bankes, John, of London, merchant tailor 0
3654636 1911710 1911710 defendant Haver Peter clothman 597846 597846 Haver, Peter, of Skypton in Craven, Yorks, clothman 0
3654637 1911710 1911710 defendant Ellarker Ralph, junior   603467 603467 Ellarker, Ralph, junior, of Rysby, Yorks, knight 1
3654638 1911710 1911710 defendant Johnson Robert   603468 603468 Johnson, Robert, of the King's Hospice 2
3654639 1911710 1911710 defendant Overend George yeoman 603469 603469 Overend, George, of Kexbe, Yorks, yeoman 3
3654640 1911710 1911710 defendant Bulle William gent 603470 603470 Bulle, William, of Hoggesdon, Middx, gent 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 13.723ms