home / cp40x

names

7 rows where case_id = 1974126

✎ 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
3851715 1974126 1974126 plaintiff Peryent George gent, "clerk of the kitchen with my lord treasurer"   Peryent, George, gent, "clerk of the kitchen with my lord treasurer", executors of 0
3851716 1974126 1974126 plaintiff Rokewood Robert esq   (Rokewood, Robert, esq 1
3851717 1974126 1974126 defendant Welshe John esq 639877 639877 Welshe, John, of Cattanger, Soms, esq 0
3851718 1974126 1974126 defendant Chester William glover 597020 597020 Chester, William, of Hertford, Herts, glover 1
3851719 1974126 1974126 defendant Andrewe Richard merchant 585869 585869 Andrewe, Richard, of London, merchant 2
3851720 1974126 1974126 defendant Andrewe William yeoman 585869 585869 Andrewe, William, of London, yeoman 3
3851721 1974126 1974126 defendant Lee John parson of Foxherthe, Essex   Lee, John, parson of Foxherthe, Essex 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 15.722ms