home / cp40x

names

6 rows where case_id = 2367171

✎ 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
5035243 2367171 2367171 plaintiff Tentyrden John   585869 585869 Tentyrden, John, of London 0
5035244 2367171 2367171 defendant Welles William prior of Ely Cathedral Priory   Welles, William, prior of Ely Cathedral Priory 0
5035245 2367171 2367171 defendant Hendy Walter chapman 585925 585925 Hendy, Walter, of Bristol, chapman 1
5035246 2367171 2367171 defendant Grantisden Nicholas cutler 588457 588457 Grantisden, Nicholas, of Thaxsted, Essex, cutler 2
5035247 2367171 2367171 defendant Haldayn John smith 595358 595358 Haldayn, John, of Long Mylford, Suff, smith 3
5035248 2367171 2367171 defendant Halpays Henry cartpenter 595283 595283 Halpays, Henry, of Twyford, Hants, cartpenter 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 16.818ms