home / cp40x

names

7 rows where case_id = 1998778

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3925310 1998778 1998778 plaintiff Wetherell Henry gent   Wetherell, Henry, gent 0
3925311 1998778 1998778 defendant Fayrfax William   607577 607577 Fayrfax, William, of Steton, Yorks, knight 0
3925312 1998778 1998778 defendant Proctour Gabriel gent 585869 585869 Proctour, Gabriel, of London, gent 1
3925313 1998778 1998778 defendant Preston Arthur gent 645818 645818 Preston, Arthur, of Bylburgh, Yorks, gent 2
3925314 1998778 1998778 defendant Berdsaye William gent 652737 652737 Berdsaye, William, of Berdsaye, Lancs, gent 3
3925315 1998778 1998778 defendant Cowper John yeoman 652735 652735 Cowper, John, of Borowby, Yorks, yeoman 4
3925316 1998778 1998778 defendant Calverley Thomas gent 652738 652738 Calverley, Thomas, of Ferebryge, Yorks, gent 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 8.904ms