home / cp40x

names

6 rows where case_id = 2028406

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
4010169 2028406 2028406 plaintiff Otes Michael administrators of   Otes, Michael, administrators of 0
4010170 2028406 2028406 plaintiff Holdesworth Peter clothier 659276 659276 (Holdesworth, Peter, of Hallyfax, clothier 1
4010171 2028406 2028406 plaintiff Otes Gilbert innholder 659276 659276 Otes, Gilbert, of Hallyfax, innholder 2
4010172 2028406 2028406 plaintiff Otes Robert clothier 659276 659276 Otes, Robert, of Hallyfax, clothier 3
4010173 2028406 2028406 plaintiff Otes George clothier 659276 659276 Otes, George, of Hallyfax, clothier 4
4010174 2028406 2028406 plaintiff Hayley James clothier 659276 659276 Hayley, James, of Hallyfax, clothier 5

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