home / cp40x

names

6 rows where case_id = 2374088

✎ 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
5058477 2374088 2374088 plaintiff Dane William     Dane, William 0
5058478 2374088 2374088 defendant Bodevyle Richard maltman 586058 586058 Bodevyle, Richard, of Enfeld, Middx, maltman 0
5058479 2374088 2374088 defendant Wymbysshe John farmer 841388 841388 Wymbysshe, John, of Heyton, Essex, farmer 1
5058480 2374088 2374088 defendant Chitewale John butcher 648783 648783 Chitewale, John, of Wormley, butcher 2
5058481 2374088 2374088 defendant Daweney Robert brewer 648783 648783 Daweney, Robert, of Wormley, brewer 3
5058482 2374088 2374088 defendant Waplode John maltman 587629 587629 Waplode, John, of Chesthunt, maltman 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 16.234ms