home / cp40x

names

6 rows where case_id = 1929211

✎ 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
3709312 1929211 1929211 plaintiff Prentoft Thomas (legal representative) 585869 585869 Prentoft, Thomas, of London, upholsterer, administrator of 0
3709313 1929211 1929211 plaintiff Newton Robert   585869 585869 Newton, Robert, of London 1
3709314 1929211 1929211 defendant Dawson Alban smith 595949 595949 Dawson, Alban, of Belcheford, smith 0
3709315 1929211 1929211 defendant Leche Robert chaplain 595949 595949 Leche, Robert, of Belcheford, chaplain 1
3709316 1929211 1929211 defendant Ros Martin chaplain 615520 615520 Ros, Martin, of Over Toynton, chaplain 2
3709317 1929211 1929211 defendant Wytton Richard dyer 586846 586846 Wytton, Richard, of Lincoln, dyer 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 13.451ms