home / cp40x

names

7 rows where case_id = 2358973

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5007124 2358973 2358973 plaintiff Smyth Thomas (legal representative)   Smyth, Thomas, executrix of 0
5007125 2358973 2358973 plaintiff Smyth Joan formerly wife of Thomas   Smyth, Joan, formerly wife of Thomas 1
5007126 2358973 2358973 defendant Sofeld William gent 587091 587091 Sofeld, William, of Braunston, gent 0
5007127 2358973 2358973 defendant Burton Thomas husbandman 587091 587091 Burton, Thomas, of Braunston, husbandman 1
5007128 2358973 2358973 defendant Cook John husbandman 587388 587388 Cook, John, of Brook, husbandman 2
5007129 2358973 2358973 defendant Burgh John (legal representative)   Burgh, John, executor of 3
5007130 2358973 2358973 defendant Wenton John   834123 834123 Wenton, John, of Withecote(? 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 6.632ms