home / cp40x

names

5 rows where case_id = 1945939

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3762566 1945939 1945939 plaintiff Gonson William grocer 585869 585869 Gonson, William, of London, grocer 0
3762567 1945939 1945939 defendant Thomas Humphrey master of St Mary Magdalene College, Batelfeld, Shrewsbury   Thomas, Humphrey, master of St Mary Magdalene College, Batelfeld, Shrewsbury 0
3762568 1945939 1945939 defendant Lee Thomas esq 625184 625184 Lee, Thomas, of Longley, of Shrewsbury, esq 1
3762569 1945939 1945939 defendant Hutton William merchant 625185 625185 Hutton, William, of Tynbygh, West Wales, merchant 2
3762570 1945939 1945939 defendant Cathdarne Lewis cooper 585925 585925 Cathdarne, Lewis, of Bristol, cooper 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 15.616ms