home / cp40x

names

7 rows where case_id = 2362006

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5017505 2362006 2362006 plaintiff Cheverell John (legal representative)   Cheverell, John, executors of 0
5017506 2362006 2362006 plaintiff Chiverell Walter     (Chiverell, Walter 1
5017507 2362006 2362006 plaintiff Combe William     Combe, William 2
5017508 2362006 2362006 defendant Baker John dyer 764941 764941 Baker, John, of Langeport Estover, Soms, dyer 0
5017509 2362006 2362006 defendant Leve Richard husbandman 669776 669776 Leve, Richard, of Langeport Estover, husbandman 1
5017510 2362006 2362006 defendant Smyth John clerk 835665 835665 Smyth, John, of Pateney, Wilts, clerk 2
5017511 2362006 2362006 defendant Batekoc John butcher 589851 589851 Batekoc, John, of Dorchester, butcher 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 5.901ms