home / cp40x

names

10 rows where case_id = 2345390

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4961455 2345390 2345390 plaintiff Bokelond Richard (legal representative)   Bokelond, Richard, executors of 0
4961456 2345390 2345390 plaintiff Bokelond Joan     (Bokelond, Joan 1
4961457 2345390 2345390 plaintiff Caudray Richard clerk   Caudray, Richard, clerk 2
4961458 2345390 2345390 plaintiff Quatermayns Richard     Quatermayns, Richard 3
4961459 2345390 2345390 plaintiff Rothewell Thomas     Rothewell, Thomas 4
4961460 2345390 2345390 plaintiff Milburn John     Milburn, John 5
4961461 2345390 2345390 plaintiff Pound Thomas     Pound, Thomas 6
4961462 2345390 2345390 plaintiff Coggeshale John     Coggeshale, John 7
4961463 2345390 2345390 plaintiff Kempley John     Kempley, John 8
4961464 2345390 2345390 defendant Gairgrave John esq 594470 594470 Gairgrave, John, of Suthwerk, Surrey, esq 0

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.165ms