home / cp40x

names

7 rows where case_id = 1952566

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3783426 1952566 1952566 plaintiff Kyrkby John (legal representative) 585869 585869 Kyrkby, John, of London, merchant tailor, executor of 0
3783427 1952566 1952566 plaintiff Garlond John merchant tailor   Garlond, John, merchant tailor 1
3783428 1952566 1952566 defendant Fetypace Thomas (legal representative) 606866 606866 Fetypace, Thomas, of Compton, Berks, knight, executors of 0
3783429 1952566 1952566 defendant Bawdewyn John gent 585869 585869 (Bawdewyn, John, of London, gent 1
3783430 1952566 1952566 defendant Wodell Richard gent 585970 585970 Wodell, Richard, of Oxford, gent 2
3783431 1952566 1952566 defendant Fetyplace William esq 591935 591935 Fetyplace, William, of Chyrley, Berks, esq 3
3783432 1952566 1952566 defendant Fetyplace John gent 606866 606866 Fetyplace, John, of Compton, Berks, 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 18.045ms