home / cp40x

names

6 rows where case_id = 2496172

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5470742 2496172 2496172 plaintiff Grevyle John knight   Grevyle, John, knight, executors of 0
5470743 2496172 2496172 plaintiff Grevyle Joan widow, formerly wife of John   (Grevyle, Joan, widow, formerly wife of John 1
5470744 2496172 2496172 plaintiff Cokesey Thomas esq, son of the same John   Cokesey, Thomas, esq, son of the same John 2
5470745 2496172 2496172 defendant Trussell Thomas gent 832534 832534 Trussell, Thomas, of billesley, Warws, gent 0
5470746 2496172 2496172 defendant Hervy John yeoman 888412 888412 Hervy, John, of Whichurch, Warws, yeoman 1
5470747 2496172 2496172 defendant Buggy Richard   638475 638475 Buggy, Richard, of Shipston, Worcs 2

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.151ms