home / cp40x

names

6 rows where case_id = 2533840

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5596555 2533840 2533840 plaintiff Cholmley Richard knight   Cholmley, Richard, knight 0
5596556 2533840 2533840 defendant Smyth Nicholas merchant 592794 592794 Smyth, Nicholas, of Wysbyche, Cams, merchant 0
5596557 2533840 2533840 defendant Stephens John   585869 585869 Stephens, John, of London, gent, marshal of king's hall 1
5596558 2533840 2533840 defendant Butler William   585869 585869 Butler, William, of London, gent, sergeant at arms 2
5596559 2533840 2533840 defendant Goldsmyth John goldsmith 904137 904137 Goldsmyth, John, of Devysey, Wilts, goldsmith 3
5596560 2533840 2533840 defendant Bownde William yeoman 825617 825617 Bownde, William, of Craneborne, Dorset, yeoman 4

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