home / cp40x

names

8 rows where case_id = 2241672

✎ 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
4634590 2241672 2241672 plaintiff Wryght John (legal representative)   Wryght, John, executors of 0
4634591 2241672 2241672 plaintiff Belgrave John     (Belgrave, John 1
4634592 2241672 2241672 plaintiff Wryght Margaret formerly wife of John   Wryght, Margaret, formerly wife of John 2
4634593 2241672 2241672 defendant (illegible) of Belgrave     _, of Belgrave 0
4634594 2241672 2241672 defendant Wroo John in the     Wroo, John in the 1
4634595 2241672 2241672 defendant Wyse John   607778 607778 Wyse, John, of Thurmeston 2
4634596 2241672 2241672 defendant Broun James   638421 638421 Broun, James, of Burstall 3
4634597 2241672 2241672 defendant Bely Joan formerly wife of John Bely   Bely, Joan, formerly wife of John Bely 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 15.892ms