home / cp40x

names

6 rows where case_id = 2008919

✎ 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
3955289 2008919 2008919 plaintiff Manxell Edward esq 700712 700712 Manxell, Edward, of Morgan, Glamorgan, esq 0
3955290 2008919 2008919 defendant Elvell Thomas Wyll husbandman 660142 660142 Elvell, Thomas Wyll, of Nurton Ferrye, Glamorgan, husbandman 0
3955291 2008919 2008919 defendant ap Richard Hopkin David gent 660143 660143 ap Richard, Hopkin David, of Llangattocke, Glamorgan, gent 1
3955292 2008919 2008919 defendant Elvell John ap William husbandman 660144 660144 Elvell, John ap William, of Llangattocke, husbandman 2
3955293 2008919 2008919 defendant Tewe John ap William Lluwellan husbandman 660144 660144 Tewe, John ap William Lluwellan, of Llangattocke, husbandman 3
3955294 2008919 2008919 defendant Elvell Lewis William Llansamlett, Glamorgan, husbandman   Elvell, Lewis William, Llansamlett, Glamorgan, husbandman 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 17.899ms