home / cp40x

names

6 rows where case_id = 2205005

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4514665 2205005 2205005 plaintiff Carlisle   in   Carlisle, prior of the church of the BM, in 0
4514666 2205005 2205005 defendant Salkeld John de   765223 765223 Salkeld, John de, of Marghby 0
4514667 2205005 2205005 defendant Morland Richard de   765224 765224 Morland, Richard de, of Glassanby 1
4514668 2205005 2205005 defendant Daweson Henry   635763 635763 Daweson, Henry, of Salkeld 2
4514669 2205005 2205005 defendant Cutbertson Richard     Cutbertson, Richard 3
4514670 2205005 2205005 defendant Colt or Cole of Adyngham vicar   Colt or Cole, of Adyngham, vicar 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 13.275ms