home / cp40x

names

6 rows where case_id = 2388892

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5108394 2388892 2388892 plaintiff Faukes John     Faukes, John 0
5108395 2388892 2388892 defendant Bayldon Robert gent 667392 667392 Bayldon, Robert, of Bayldon, gent 0
5108396 2388892 2388892 defendant Robynson Thomas fuller 588641 588641 Robynson, Thomas, of Denton, fuller 1
5108397 2388892 2388892 defendant Ingilfant William laborer 847304 847304 Ingilfant, William,of Clyt, laborer 2
5108398 2388892 2388892 defendant Casse Richard yeoman 597293 597293 Casse, Richard, of Gyseley, yeoman 3
5108399 2388892 2388892 defendant Rowse John son of Rowse, Robert, of Fernley, laborer   Rowse, John, son of Rowse, Robert, of Fernley, laborer 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 8.427ms