home / cp40x

names

8 rows where case_id = 2355235

✎ 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
4994547 2355235 2355235 plaintiff Foliambe Thomas esq   Foliambe, Thomas, esq 0
4994548 2355235 2355235 defendant Fithet or Fichet John yeoman 685531 685531 Fithet or Fichet, John, of Chesterfield, yeoman 0
4994549 2355235 2355235 defendant Bryg Roger shoemaker 685531 685531 Bryg, Roger, of Chesterfield, shoemaker 1
4994550 2355235 2355235 defendant Gold Henry husbandman 832215 832215 Gold, Henry, of Lyhby, Notts, husbandman 2
4994551 2355235 2355235 defendant Champeyn Nicholas husbandman 611225 611225 Champeyn, Nicholas, of Lynby, Notts, husbandman 3
4994552 2355235 2355235 defendant Lewe Roger husbandman 832216 832216 Lewe, Roger, of Cal, Derbs, husbandman 4
4994553 2355235 2355235 defendant Offerton John husbandman 832217 832217 Offerton, John, of Calall, husbandman 5
4994554 2355235 2355235 defendant Foldes John husbandman 832218 832218 Foldes, John, of Calall, Derbs, husbandman 6

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 12.551ms