home / cp40x

names

7 rows where case_id = 2117514

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4263676 2117514 2117514 plaintiff Armestronge Nicholas gent, attorney   Armestronge, Nicholas, gent, attorney 0
4263677 2117514 2117514 defendant Newall James tailor 585869 585869 Newall, James, of London, tailor 0
4263678 2117514 2117514 defendant Hockyns Benedict clerk 585869 585869 Hockyns, Benedict, of London, clerk 1
4263679 2117514 2117514 defendant Gamble Henry of London smith   Gamble, Henry of London, smith 2
4263680 2117514 2117514 defendant Stanforde John tailor 585869 585869 Stanforde, John, of London, tailor 3
4263681 2117514 2117514 defendant Goslynge John (legal representative)   Goslynge, John, executrix of 4
4263682 2117514 2117514 defendant Goslynge Katherine widow 585869 585869 Goslynge, Katherine, of London, widow 5

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 36.322ms