home / cp40x

names

7 rows where case_id = 2079991

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4155431 2079991 2079991 plaintiff Lewes David     Lewes, David 0
4155432 2079991 2079991 plaintiff Awbrey William     Awbrey, William 1
4155433 2079991 2079991 plaintiff Lloyde Griffin Doctor of Law   Lloyde, Griffin, Doctor of Law 2
4155434 2079991 2079991 defendant Herbert Edward esq 705011 705011 Herbert, Edward, of Crickhowell, Brecon, esq 0
4155435 2079991 2079991 defendant Walter Howell gent 654743 654743 Walter, Howell, of Brecon, gent 1
4155436 2079991 2079991 defendant John john Philip gent 705012 705012 John, john Philip, of Dewmock, Brecon, gent 2
4155437 2079991 2079991 defendant ap Jenkyn John Thomas gent 705013 705013 ap Jenkyn, John Thomas, of St Davies, Llanvayes, Brecon, gent 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 18.786ms