home / cp40x

names

6 rows where case_id = 2367030

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5034782 2367030 2367030 plaintiff Sutton John alderman 585869 585869 Sutton, John, of London, alderman 0
5034783 2367030 2367030 defendant Grey Richard knight   Grey, Richard, knight, executors of 0
5034784 2367030 2367030 defendant (not given) William abbot of Alnwyk Abbey   (Alnwyk Abbey, William, abbot of 1
5034785 2367030 2367030 defendant Cartyngton John gent 804580 804580 Cartyngton, John, of Cartyngton, Northumb, gent 2
5034786 2367030 2367030 defendant Wark John chaplain 836207 836207 Wark, John, of Wark, Northumb, chaplain 3
5034787 2367030 2367030 defendant Mountford Edmund esq 836210 836210 Mountford, Edmund, of Colselhall, Warks, esq 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 11.981ms