home / cp40x

names

6 rows where case_id = 2358182

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5004391 2358182 2358182 plaintiff prior of the hospital of St John of Jerusalem in England in England   prior of the hospital of St John of Jerusalem, in England 0
5004392 2358182 2358182 defendant Walker Alan husbandman 830915 830915 Walker, Alan, of Kirkeby Malsert, husbandman 0
5004393 2358182 2358182 defendant Bayne Ralph gent 830915 830915 Bayne, Ralph, of Kirkeby Malsert, gent 1
5004394 2358182 2358182 defendant Byrkes John miller 833709 833709 Byrkes, John, of Neuton in the Willows, miller 2
5004395 2358182 2358182 defendant Etop Thomas weaver 613622 613622 Etop, Thomas, of Colyngham, weaver 3
5004396 2358182 2358182 defendant Somerset William yeoman 656094 656094 Somerset, William, of Wetherby, yeoman 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.418ms