home / cp40x

names

7 rows where case_id = 2003411

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3939175 2003411 2003411 plaintiff Rolle George esq   Rolle, George, esq 0
3939176 2003411 2003411 plaintiff Chamberleyn Leonard knight   (Chamberleyn, Leonard, knight 1
3939177 2003411 2003411 plaintiff Chamberleyn Margery formerly wife of George   Margery, his wife, formerly wife of George 2
3939178 2003411 2003411 defendant Chechester John   656171 656171 Chechester, John, of Ralegh, Devon, knight 0
3939179 2003411 2003411 defendant Poole Henry esq 585869 585869 Poole, Henry, of London, esq 1
3939180 2003411 2003411 defendant Hatche Lewis gent 656172 656172 Hatche, Lewis, of Hunshawe, Devon, gent 2
3939181 2003411 2003411 defendant Dillon Nicholas gent 651777 651777 Dillon, Nicholas, of the Middle Temple, London, gent 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.439ms