home / cp40x

names

6 rows where case_id = 2344741

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4959277 2344741 2344741 plaintiff ap Lluwellan Lawrence     ap Lluwellan, Lawrence 0
4959278 2344741 2344741 defendant Velyn Richard chaplain 606694 606694 Velyn, Richard, of Yasour, chaplain 0
4959279 2344741 2344741 defendant Wheth David husbandman 601996 601996 Wheth, David, of Burleton, husbandman 1
4959280 2344741 2344741 defendant Boter John husbandman 827509 827509 Boter, John, of Deyswall, husbandman 2
4959281 2344741 2344741 defendant Ederyche John husbandman 757174 757174 Ederyche, John, of Welynton, husbandman 3
4959282 2344741 2344741 defendant Bocher John butcher 586208 586208 Bocher, John, of Hereford, butcher 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 15.953ms