home / cp40x

names

6 rows where case_id = 1998581

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3924712 1998581 1998581 plaintiff Vaughan Eustace (legal representative)   Vaughan, Eustace, executors of 0
3924713 1998581 1998581 plaintiff Vaughan Thomas     (Vaughan, Thomas 1
3924714 1998581 1998581 plaintiff Goughe Griffin     Goughe, Griffin 2
3924715 1998581 1998581 defendant ap Eynon Howell ap Evan yeoman 652604 652604 ap Eynon, Howell ap Evan, of Broungwyn, Radnor, yeoman 0
3924716 1998581 1998581 defendant Morgan David yeoman 652605 652605 Morgan, David, of Broungwyn, yeoman 1
3924717 1998581 1998581 defendant Eynon Eynon ap David yeoman 652605 652605 Eynon, Eynon ap David, of Broungwyn, yeoman 2

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 12.887ms