home / cp40x

names

6 rows where case_id = 2493198

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5460861 2493198 2493198 plaintiff Lynne John grocer 585869 585869 Lynne, John, of London, grocer 0
5460862 2493198 2493198 defendant Furbysshurr John grocer 585936 585936 Furbysshurr, John, of Norwich, grocer 0
5460863 2493198 2493198 defendant Hallesworth John chapman 600209 600209 Hallesworth, John, of Bradford, Yorks, chapman 1
5460864 2493198 2493198 defendant Brykhed Morris chapman 889975 889975 Brykhed, Morris, of Appylby, Yorks, chapman 2
5460865 2493198 2493198 defendant Stabylton Miles chapman 588479 588479 Stabylton, Miles, of Appylby, chapman 3
5460866 2493198 2493198 defendant Alman Richard chapman 588457 588457 Alman, Richard, of Thaxsted, Essex, chapman 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 14.397ms