home / cp40x

names

5 rows where case_id = 2113596

✎ 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
4251812 2113596 2113596 plaintiff Cordell Thomas     Cordell, Thomas 0
4251813 2113596 2113596 defendant Willett Thomas gent 585869 585869 Willett, Thomas, of London, or of Swacye , Cams, gent 0
4251814 2113596 2113596 defendant Chapman Edmund gent 723664 723664 Chapman, Edmund, of Swacye, gent 1
4251815 2113596 2113596 defendant Michell John husbandman 628178 628178 Michell, John, of Sutton, Isle of Ely, Cams, husbandman 2
4251816 2113596 2113596 defendant Gibbs John, senior yeoman 588818 588818 Gibbs, John, senior, of Sutton, Isle of Ely, 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 18.613ms