home / cp40x

names

5 rows where case_id = 2094371

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4196640 2094371 2094371 plaintiff Diglen Gilbert     Diglen, Gilbert 0
4196641 2094371 2094371 defendant Acton Richard gent 618946 618946 Acton, Richard, of Elmeley Lovet, Worcs, gent 0
4196642 2094371 2094371 defendant Seymer Anthony gent 712981 712981 Seymer, Anthony, of Hartishorne, Derbs, gent 1
4196643 2094371 2094371 defendant Tuckey Edward gent 615584 615584 Tuckey, Edward, of Halesowen, Salop, gent 2
4196644 2094371 2094371 defendant Burton George gent 712982 712982 Burton, George, of Yardley, Warks, gent 3

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