home / cp40x

names

7 rows where case_id = 1867178

✎ 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
3598570 1867178 1867178 plaintiff Standyssh George (legal representative) 585869 585869 Standyssh, George, of London, gent, administrator of 0
3598571 1867178 1867178 plaintiff Pemberton Hugh alderman 585869 585869 Pemberton, Hugh, of London, alderman 1
3598572 1867178 1867178 defendant Sheregote John husbandman 589735 589735 Sheregote, John, of Leden Rodyng, Essex, husbandman 0
3598573 1867178 1867178 defendant Panyotte John husbandman 589736 589736 Panyotte, John, of Hatherop Rodyng, Essex, husbandman 1
3598574 1867178 1867178 defendant Smyth Thomas yeoman 589737 589737 Smyth, Thomas, of Chikwell, Essex, yeoman 2
3598575 1867178 1867178 defendant Reynold John yeoman 589729 589729 Reynold, John, of Shalford, Essex, yeoman 3
3598576 1867178 1867178 defendant Rutter Seth yeoman 589738 589738 Rutter, Seth, of Standyssh, Lancs, yeoman 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 16.797ms