home / cp40x

names

6 rows where case_id = 2412198

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5188002 2412198 2412198 plaintiff Hille Thomas grocer 585869 585869 Hille, Thomas, of London, grocer 0
5188003 2412198 2412198 defendant Howeton Richard yeoman 780768 780768 Howeton, Richard, of Worcester, Worcs, yeoman 0
5188004 2412198 2412198 defendant Utteworthe Clement gent 857439 857439 Utteworthe, Clement, of Cliffe, Kent, gent 1
5188005 2412198 2412198 defendant Beye Thomas chapman 857440 857440 Beye, Thomas, of Gesnesburgh, Lincs, chapman 2
5188006 2412198 2412198 defendant Shepherd John chapman 678075 678075 Shepherd, John, of Hanslape, Bucks, chapman 3
5188007 2412198 2412198 defendant Benet Thomas chapman 695204 695204 Benet, Thomas, of Abingdon, Berks, chapman 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 14.265ms