home / cp40x

names

6 rows where case_id = 2193193

✎ 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
4476087 2193193 2193193 plaintiff Foucher William mercer 585869 585869 Foucher, William, of London, mercer, on his own account 0
4476088 2193193 2193193 defendant James Henry   761102 761102 James, Henry, of Carfax, Oxon 0
4476089 2193193 2193193 defendant Isbrond Lawrence   586360 586360 Isbrond, Lawrence, of Chelmesford, Essex 1
4476090 2193193 2193193 defendant Stowell John   761103 761103 Stowell, John, of Stoke Cursy, Soms 2
4476091 2193193 2193193 defendant Bocher William   761104 761104 Bocher, William, of Welmeston, Warws 3
4476092 2193193 2193193 defendant Yarom William   655116 655116 Yarom, William, of Ascote, Bucks 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 13.278ms