home / cp40x

names

6 rows where case_id = 2502984

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5493546 2502984 2502984 plaintiff Ellys Richard (legal representative) 585869 585869 Ellys, Richard, of London, tailor, executors of 0
5493547 2502984 2502984 plaintiff Acton Hugh tailor 585869 585869 (Acton, Hugh, of London, tailor 1
5493548 2502984 2502984 defendant Morgan John gent 893127 893127 Morgan, John, of Isle if hanet, Kent, gent 0
5493549 2502984 2502984 defendant Louther james gent 592672 592672 Louther, james, of Stevenhythe, Middx, gent 1
5493550 2502984 2502984 defendant Somer William   893128 893128 Somer, William, of London, shopwright 2
5493551 2502984 2502984 defendant Werall William yeoman 586945 586945 Werall, William, of Hoddesdon, Herts, yeoman 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 14.973ms