home / cp40x

names

8 rows where case_id = 2245013

✎ 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
4646407 2245013 2245013 plaintiff Pratte John (legal representative) 777529 777529 Pratte, John, of Harwedon, sen, executors of 0
4646408 2245013 2245013 plaintiff Pratte Margaret   781906 781906 (Pratte, Margaret, of Harwedon, formerly wife of John Pratte, sen 1
4646409 2245013 2245013 plaintiff Pratte John jun   Pratte, John, jun 2
4646410 2245013 2245013 defendant Weston Ralph     Weston, Ralph 0
4646411 2245013 2245013 defendant Straunge Edmund   757801 757801 Straunge, Edmund, of Hanslape 1
4646412 2245013 2245013 defendant Taillour Adam   588719 588719 Taillour, Adam, of Neuport Paynell 2
4646413 2245013 2245013 defendant Pynden William   757801 757801 Pynden, William, of Hanslape 3
4646414 2245013 2245013 defendant Brigge John slater   Brigge, John, slater 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 5.999ms