home / cp40x

names

6 rows where case_id = 2501444

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5488482 2501444 2501444 plaintiff Weston John prior, St John of Jerusalem   Weston, John, prior, St John of Jerusalem 0
5488483 2501444 2501444 defendant Kynaston Thomas esq 597897 597897 Kynaston, Thomas, of Oswestre, March of Wales, esq 0
5488484 2501444 2501444 defendant Wolascot William esq 892578 892578 Wolascot, William, of Wolascot, Salop, esq 1
5488485 2501444 2501444 defendant Stub Roger yeoman 892579 892579 Stub, Roger, of Baggeley, Salop, yeoman 2
5488486 2501444 2501444 defendant Kynaston John, junior gent 892580 892580 Kynaston, John, junior, of Dudleston, Oswestre, Herefs, gent 3
5488487 2501444 2501444 defendant Fynche John yeoman 644429 644429 Fynche, John, of Baggeley, 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.548ms