home / cp40x

names

6 rows where case_id = 2201956

✎ 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
4504467 2201956 2201956 plaintiff Ruggeley Thomas   764161 764161 Ruggeley, Thomas, of Sondeye, parson, on his own account 0
4504468 2201956 2201956 defendant Perye alias Welford Richard (legal representative)   Perye alias Welford, Richard, executors of 0
4504469 2201956 2201956 defendant Sondeye William   764259 764259 Sondeye, William, of Hadham(? 1
4504470 2201956 2201956 defendant Perys William   766896 766896 Perys, William, of Berkeweye, vicar 2
4504471 2201956 2201956 defendant Hauche John chaplain   Hauche, John, chaplain 3
4504472 2201956 2201956 defendant Perys Robert     Perys, Robert 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.18ms