home / cp40x

names

9 rows where case_id = 2216603

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4552086 2216603 2216603 plaintiff Etton John de cook   Etton, John de, cook 0
4552087 2216603 2216603 defendant Herryson William   588481 588481 Herryson, William, of Appulby 0
4552088 2216603 2216603 defendant Baget John   588481 588481 Baget, John, of Appulby 1
4552089 2216603 2216603 defendant Coteler John   588481 588481 Coteler, John, of Appulby 2
4552090 2216603 2216603 defendant Bynall John   768784 768784 Bynall, John, of Apppulby 3
4552091 2216603 2216603 defendant Catwyk William   588481 588481 Catwyk, William, of Appulby 4
4552092 2216603 2216603 defendant Philipson John   588481 588481 Philipson, John, of Appulby 5
4552093 2216603 2216603 defendant Chesterfeld Robert   588481 588481 Chesterfeld, Robert, of Appulby 6
4552094 2216603 2216603 defendant atte Welle John   588481 588481 atte Welle, John, of Appulby 7

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.52ms