home / cp40x

names

6 rows where case_id = 2280456

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4749943 2280456 2280456 plaintiff Pipir William skinner 585869 585869 Pipir, William, of London, skinner, on his own account 0
4749944 2280456 2280456 defendant Urban David gent 796203 796203 Urban, David, of Crukelewe, Cornw, gent 0
4749945 2280456 2280456 defendant Calverton John gent 796204 796204 Calverton, John, of Newcastle upon Tyne, Northumbl, gent 1
4749946 2280456 2280456 defendant Witill Richard gent 796205 796205 Witill, Richard, of Walle, Staffs, gent 2
4749947 2280456 2280456 defendant Trevenour Henry gent 796185 796185 Trevenour, Henry, of Trevenour, Cornw, gent 3
4749948 2280456 2280456 defendant Enderby John gent 591915 591915 Enderby, John, of Stratton, Beds, 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.857ms