home / cp40x

names

7 rows where case_id = 2239471

✎ 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
4627244 2239471 2239471 plaintiff Reynold John     Reynold, John 0
4627245 2239471 2239471 defendant Esthey William   775820 775820 Esthey, William, of Willynghale 0
4627246 2239471 2239471 defendant Camanville William     Camanville, William 1
4627247 2239471 2239471 defendant Bornewaille John   775821 775821 Bornewaille, John, of Sabrichesworth 2
4627248 2239471 2239471 defendant Bocher John   590859 590859 Bocher, John, of Navestoke 3
4627249 2239471 2239471 defendant Drake John   615288 615288 Drake, John, of Rokeswell 4
4627250 2239471 2239471 defendant Whelere John   615288 615288 Whelere, John, of Rokeswell 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 18.211ms