home / cp40x

names

7 rows where case_id = 2344454

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4958310 2344454 2344454 plaintiff Wyet Thomas (legal representative)   Wyet, Thomas, executors of 0
4958311 2344454 2344454 plaintiff Ayssh John     (Ayssh, John 1
4958312 2344454 2344454 defendant Beaumont Thomas esq 613126 613126 Beaumont, Thomas, of Santon, esq 0
4958313 2344454 2344454 defendant Raysslegh Thomas, senior gent 802504 802504 Raysslegh, Thomas, senior, of Southhole, gent 1
4958314 2344454 2344454 defendant Raysslegh Thomas, junior gent 802504 802504 Raysslegh, Thomas, junior, of Southhole, gent 2
4958315 2344454 2344454 defendant Felde Stephen   593193 593193 Felde, Stephen, of Braunton 3
4958316 2344454 2344454 defendant Mosven Thomas smith 827402 827402 Mosven, Thomas, of Broaunton, smith 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 10.017ms