home / cp40x

names

7 rows where case_id = 2347114

✎ 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
4967176 2347114 2347114 plaintiff Elnet John     Elnet, John 0
4967177 2347114 2347114 plaintiff Reynold John     Reynold, John 1
4967178 2347114 2347114 defendant Stan- Thomas   585869 585869 Stan-, Thomas, of London, knight 0
4967179 2347114 2347114 defendant Loweston Philip gent 828458 828458 Loweston, Philip, of Wymbeldon, Surrey, gent 1
4967180 2347114 2347114 defendant Laken William gent 585869 585869 Laken, William, of London, gent 2
4967181 2347114 2347114 defendant Griffith William gent 585869 585869 Griffith, William, of London, gent 3
4967182 2347114 2347114 defendant Stanley John esq 621741 621741 Stanley, John, of Batersey, Surrey, esq 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 12.202ms