home / cp40x

names

7 rows where case_id = 2243089

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4639576 2243089 2243089 plaintiff Couper Thomas chaplain   Couper, Thomas, chaplain 0
4639577 2243089 2243089 plaintiff atte Hill John chaplain 590659 590659 atte Hill, John, of Leveryngton, chaplain 1
4639578 2243089 2243089 defendant Mayhewe Bar_   590659 590659 Mayhewe, Bar_, of Leveryngton 0
4639579 2243089 2243089 defendant Dunham Roger     Dunham, Roger 1
4639580 2243089 2243089 defendant Reynold William   590659 590659 Reynold, William, of Leveryngton 2
4639581 2243089 2243089 defendant Dryvere William   590659 590659 Dryvere, William, of Leveryngton 3
4639582 2243089 2243089 defendant Reynold Thomas   590659 590659 Reynold, Thomas, of Leveryngton 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 14.956ms