home / cp40x

names

6 rows where case_id = 1942405

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3751572 1942405 1942405 plaintiff Nycolson Christopher merchant tailor 585869 585869 Nycolson, Christopher, of London, merchant tailor 0
3751573 1942405 1942405 defendant Hardeman Roger yeoman 623273 623273 Hardeman, Roger, of Warrington, Lancs, yeoman 0
3751574 1942405 1942405 defendant Constabell Marmaduke, junior   681204 681204 Constabell, Marmaduke, junior, of Everyngham, Yorks, knight 1
3751575 1942405 1942405 defendant Denton Thomas gent 586552 586552 Denton, Thomas, of Denton, Lincs, gent 2
3751576 1942405 1942405 defendant Deryk alias Dedyt John gent 585869 585869 Deryk alias Dedyt, John, of London, gent 3
3751577 1942405 1942405 defendant Lancaster George yeoman 588081 588081 Lancaster, George, of Cambridge, yeoman 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.934ms