home / cp40x

names

8 rows where case_id = 1997995

✎ 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
3922980 1997995 1997995 plaintiff Selyok John esq   Selyok, John, esq 0
3922981 1997995 1997995 defendant Adamson Richard laborer 600122 600122 Adamson, Richard, of Wentworth, laborer 0
3922982 1997995 1997995 defendant Danby Richard laborer 652321 652321 Danby, Richard, of Dartron, laborer 1
3922983 1997995 1997995 defendant Kettyn Nicholas laborer 588397 588397 Kettyn, Nicholas, of Thorpe, laborer 2
3922984 1997995 1997995 defendant Berdselff John laborer 600122 600122 Berdselff, John, of Wentworth, laborer 3
3922985 1997995 1997995 defendant Illyngworth Reginald laborer 600122 600122 Illyngworth, Reginald, of Wentworth, laborer 4
3922986 1997995 1997995 defendant Bromehed Henry laborer 589000 589000 Bromehed, Henry, of Bradfeld, laborer 5
3922987 1997995 1997995 defendant Tompson John laborer 587352 587352 Tompson, John, of Aston, laborer 6

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.485ms