home / cp40x

names

7 rows where case_id = 2466935

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5372318 2466935 2466935 plaintiff Kooke Hugh (legal representative) 586901 586901 Kooke, Hugh, of Nottingham, executors of 0
5372319 2466935 2466935 plaintiff Alred John     (Alred, John 1
5372320 2466935 2466935 plaintiff Alred Matilda formerly wife of Hugh Cooke   Matilda, his wife, formerly wife of Hugh Cooke 2
5372321 2466935 2466935 defendant Smyth Stephen smith 789123 789123 Smyth, Stephen, of Plomptre, Notts, smith 0
5372322 2466935 2466935 defendant Mason John husbandman 619362 619362 Mason, John, of Plomtre, husbandman 1
5372323 2466935 2466935 defendant Clerk William husbandman 843169 843169 Clerk, William, of Selston, Notts, husbandman 2
5372324 2466935 2466935 defendant Rysle Henry husbandman 617560 617560 Rysle, Henry, of Lenton, Notts, husbandman 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.807ms