home / cp40x

names

5 rows where case_id = 2260719

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4684372 2260719 2260719 plaintiff prior of the hospital of St John Jerusalem in England   prior of the hospital of St John, Jerusalem, in England 0
4684373 2260719 2260719 defendant Cassy Nicholas gent 783882 783882 Cassy, Nicholas, of the Lower Hospital of the New Temple, London, gent 0
4684374 2260719 2260719 defendant Boys Thomas gent 783883 783883 Boys, Thomas, of the Upper Hospital of the New Temple, gent 1
4684375 2260719 2260719 defendant Lampit William gent 783884 783884 Lampit, William, of Bryghtwell, Suff, gent 2
4684376 2260719 2260719 defendant Crymmysby Walter gent 783885 783885 Crymmysby, Walter, of the Lower Hospital of the New Temple, gent 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 13.929ms