home / cp40x

names

7 rows where case_id = 1997525

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3921471 1997525 1997525 plaintiff Perpount George esq   Perpount, George, esq 0
3921472 1997525 1997525 defendant Hey John yeoman 593579 593579 Hey, John, of Staveley, yeoman 0
3921473 1997525 1997525 defendant Smyth Henry laborer 593579 593579 Smyth, Henry, of Staveley, laborer 1
3921474 1997525 1997525 defendant Huet Henry yeoman 652076 652076 Huet, Henry, of Bylby, Notts, yeoman 2
3921475 1997525 1997525 defendant Bank James yeoman 652077 652077 Bank, James, of Maltbye, Yorks, yeoman 3
3921476 1997525 1997525 defendant Coke George yeoman 652078 652078 Coke, George, of Maltbye, yeoman 4
3921477 1997525 1997525 defendant Townshend Anthony yeoman 652078 652078 Townshend, Anthony, of Maltbye, yeoman 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 16.65ms