home / cp40x

names

7 rows where case_id = 2511560

✎ 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
5521555 2511560 2511560 plaintiff Coke Richard mercer 586117 586117 Coke, Richard, of Coventry, mercer 0
5521556 2511560 2511560 defendant Tille Walter (legal representative) 877341 877341 Tille, Walter, of Sissetur, innholder, executrix of 0
5521557 2511560 2511560 defendant Tylle Margery widow 611665 611665 Tylle, Margery, of Syssetur, Glos, widow 1
5521558 2511560 2511560 defendant Swatcok Humphrey chapman 896033 896033 Swatcok, Humphrey, of Walsshepole, Wales, chapman 2
5521559 2511560 2511560 defendant Bailly Nicholas gent 896034 896034 Bailly, Nicholas, of Wytnale, Staffs, gent 3
5521560 2511560 2511560 defendant Somerby Robert draper 896035 896035 Somerby, Robert, of Somerby, Glos, draper 4
5521561 2511560 2511560 defendant Marchall William tinner 782352 782352 Marchall, William, of Walshale, Staffs, tinner 5

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 10.555ms