home / cp40x

names

7 rows where case_id = 2339034

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4940436 2339034 2339034 plaintiff Dedwode John     Dedwode, John 0
4940437 2339034 2339034 defendant Porter William knight   Porter, William, knight, executors of 0
4940438 2339034 2339034 defendant Sutton Thomas esq 643400 643400 (Sutton, Thomas, of Milton, Nhants, esq 1
4940439 2339034 2339034 defendant Purley William gent 588500 588500 Purley, William, of Wymondham, Leics, gent 2
4940440 2339034 2339034 defendant Fox John gent 591385 591385 Fox, John, of Peterborough, Nhants, gent 3
4940441 2339034 2339034 defendant Bendon John clerk 825062 825062 Bendon, John, of Colynweston, Nhants, clerk 4
4940442 2339034 2339034 defendant Stodeherde John yeoman 585869 585869 Stodeherde, John, of London, 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 17.659ms