home / cp40x

names

7 rows where case_id = 2338593

✎ 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
4939006 2338593 2338593 plaintiff Coldham Thomas (legal representative) 585869 585869 Coldham, Thomas, of London, dyer, executors of 0
4939007 2338593 2338593 plaintiff Danyell Thomas dyer 585869 585869 (Danyell, Thomas, of London, dyer 1
4939008 2338593 2338593 plaintiff Fray Thomas "huyar"   Fray, Thomas, "huyar" 2
4939009 2338593 2338593 plaintiff Mette William draper 585869 585869 Mette, William, of London, draper 3
4939010 2338593 2338593 plaintiff Inglond Thomas draper 585869 585869 Inglond, Thomas, of London, draper 4
4939011 2338593 2338593 defendant Westhorp Richard merchant 591282 591282 Westhorp, Richard, of Bishops Lynne, merchant 0
4939012 2338593 2338593 defendant Merkaunt John fishmonger 585869 585869 Merkaunt, John, of London, fishmonger 1

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