home / cp40x

names

7 rows where case_id = 1958673

✎ 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
3802472 1958673 1958673 plaintiff Payn John     Payn, John 0
3802473 1958673 1958673 defendant Lovell Thomas   594493 594493 Lovell, Thomas, of Barton Bendyche, knight 0
3802474 1958673 1958673 defendant Mathewe John prior of Cokkysford Priory   Mathewe, John, prior of Cokkysford Priory 1
3802475 1958673 1958673 defendant Playter Edmund esq 586230 586230 Playter, Edmund, of Fyncham, esq 2
3802476 1958673 1958673 defendant Wynter Henry esq 617566 617566 Wynter, Henry, of Wynter Barnyngham, esq 3
3802477 1958673 1958673 defendant Stokys Robert gent 615651 615651 Stokys, Robert, of Taverham, gent 4
3802478 1958673 1958673 defendant Potter John yeoman 592328 592328 Potter, John, of Wyssyngsett, 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 16.098ms