home / cp40x

names

6 rows where case_id = 2359964

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5010559 2359964 2359964 plaintiff Warter Christopher skinner 585869 585869 Warter, Christopher, of London, skinner 0
5010560 2359964 2359964 defendant Haweley Henry gent 587055 587055 Haweley, Henry, of Tetney, Lincs, gent 0
5010561 2359964 2359964 defendant Sutham William gent 834693 834693 Sutham, William, of Connesburgh, Yorks, gent 1
5010562 2359964 2359964 defendant Norton Robert gent 834694 834694 Norton, Robert, of Edyngton, Notts, gent 2
5010563 2359964 2359964 defendant Harebotell Wilai gent 585869 585869 Harebotell, Wilai, of London, gent 3
5010564 2359964 2359964 defendant Colvill Robert gent 834695 834695 Colvill, Robert, of Berwyk on Tweed, Northumberland, gent 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 14.619ms