home / cp40x

names

8 rows where case_id = 2198903

✎ 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
4494276 2198903 2198903 plaintiff Bohum Joan de Countess of Hereford & Essex & Northamptonshire   Bohum, Joan de, Countess of Hereford & Essex & Northamptonshire 0
4494277 2198903 2198903 defendant Brerelot John     Brerelot, John 0
4494278 2198903 2198903 defendant Botiller Reginald   763102 763102 Botiller, Reginald, of Reileygh 1
4494279 2198903 2198903 defendant Swanescombe Michael     Swanescombe, Michael 2
4494280 2198903 2198903 defendant Baryngton John, junior   587159 587159 Baryngton, John, junior, of Hatfeld 3
4494281 2198903 2198903 defendant P--- John   587635 587635 P---, John, of Hadlegh 4
4494282 2198903 2198903 defendant Cooke Richard   615896 615896 Cooke, Richard, of Pritelwell 5
4494283 2198903 2198903 defendant Porter Alexander     Porter, Alexander 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 6.577ms