home / cp40x

names

7 rows where case_id = 2188413

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4460724 2188413 2188413 plaintiff Smalbon Hugh   606861 606861 Smalbon, Hugh, of Eydon 0
4460725 2188413 2188413 defendant Taillour Giles   594266 594266 Taillour, Giles, of Wardon 0
4460726 2188413 2188413 defendant Sharp John   630842 630842 Sharp, John, of Warden 1
4460727 2188413 2188413 defendant Wycham Thomas   630842 630842 Wycham, Thomas, of Warden 2
4460728 2188413 2188413 defendant Rattlele John   630842 630842 Rattlele, John, of Warden 3
4460729 2188413 2188413 defendant Taillour Lawrence   759333 759333 Taillour, Lawrence, of Croprydye 4
4460730 2188413 2188413 defendant Cartere Ralph   759334 759334 Cartere, Ralph, of Williamscote 5

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