home / cp40x

names

7 rows where case_id = 2492620

✎ 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
5459105 2492620 2492620 plaintiff Grevyle John knight   Grevyle, John, knight, executors of 0
5459106 2492620 2492620 plaintiff Grevyle Joan widow, formerly wife of John, Grevyle, knight   (Grevyle, Joan, widow, formerly wife of John, Grevyle, knight 1
5459107 2492620 2492620 plaintiff Cokesey Thomas son of John Grevyle, knight   Cokesey, Thomas, son of John Grevyle, knight 2
5459108 2492620 2492620 defendant Rouse Thomas esq 888410 888410 Rouse, Thomas, of Raggeley, Warws, esq 0
5459109 2492620 2492620 defendant Trussell Thomas gent 888411 888411 Trussell, Thomas, of Byllisley, Warws, gent 1
5459110 2492620 2492620 defendant Hervy John yeoman 888412 888412 Hervy, John, of Whichurch, Warws, yeoman 2
5459111 2492620 2492620 defendant Buggy Ralph yeoman 647816 647816 Buggy, Ralph, of Shypston, yeoman 3

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