home / cp40x

names

9 rows where case_id = 2336133

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4931161 2336133 2336133 plaintiff Vampage John or Rex   Vampage, John, or Rex 0
4931162 2336133 2336133 defendant Elwyk Thomas   616385 616385 Elwyk, Thomas, of Berwick on Tweed, Northumbld, burgess 0
4931163 2336133 2336133 defendant Rydall John   636686 636686 Rydall, John, of Berwick, burgess & merchant 1
4931164 2336133 2336133 defendant de Braniston Robert   636686 636686 de Braniston, Robert, of Berwick, burgess & merchant 2
4931165 2336133 2336133 defendant de Yorke William   636686 636686 de Yorke, William, of Berwick, burgess & merchant 3
4931166 2336133 2336133 defendant de Yorke Thomas   636686 636686 de Yorke, Thomas, of Berwick, burgess & merchant 4
4931167 2336133 2336133 defendant Mercer Alan (legal representative)   Mercer, Alan, executors of 5
4931168 2336133 2336133 defendant Norman Thomas merchant 605984 605984 (Norman, Thomas, of Newcastle upon Tyne, merchant 6
4931169 2336133 2336133 defendant Norman Margaret     Margaret, his wife 7

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