home / cp40x

names

6 rows where case_id = 2132840

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4307719 2132840 2132840 plaintiff Smith David gent, attorney   Smith, David, gent, attorney 0
4307720 2132840 2132840 defendant Llewis Edward weaver 734067 734067 Llewis, Edward, of Llanvetherell, Merioneth, weaver 0
4307721 2132840 2132840 defendant Stiles William mercer 659188 659188 Stiles, William, of Wrexham, Denbigh, mercer 1
4307722 2132840 2132840 defendant Robert Rotcherch clerk 734068 734068 Robert, Rotcherch, of Llandrillo yn Rhos, Denbigh, clerk 2
4307723 2132840 2132840 defendant Bostocke Lancelot esq   Bostocke, Lancelot, esq, executrix of 3
4307724 2132840 2132840 defendant Bostocke Jane widow 695045 695045 Bostocke, Jane, of Hoult, Denbigh, widow 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 12.618ms