home / cp40x

names

7 rows where case_id = 1937234

✎ 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
3735165 1937234 1937234 plaintiff Hall John rector of Cathorp   Hall, John, rector of Cathorp 0
3735166 1937234 1937234 plaintiff Vaisey John Bishop of Exeter, dean of King's chapel   Vaisey, John, Bishop of Exeter, dean of King's chapel 1
3735167 1937234 1937234 plaintiff Langland John Bishop of Lincoln   Langland, John, Bishop of Lincoln 2
3735168 1937234 1937234 defendant Cappe Thomas gent 599357 599357 Cappe, Thomas, of Normanton, Lincs, gent 0
3735169 1937234 1937234 defendant Houghe John gent 620341 620341 Houghe, John, of Hough, Lincs, gent 1
3735170 1937234 1937234 defendant Prest Hugh yeoman 592499 592499 Prest, Hugh, of Cathorp, Lincs, yeoman 2
3735171 1937234 1937234 defendant Kyrkby Thomas yeoman 607720 607720 Kyrkby, Thomas, of Cathorp, yeoman 3

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 10.924ms