home / cp40x

names

6 rows where case_id = 2138499

✎ 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
4324203 2138499 2138499 plaintiff Barry Nicholas     Barry, Nicholas 0
4324204 2138499 2138499 plaintiff Lowson Edward     Lowson, Edward 1
4324205 2138499 2138499 defendant Arden Virgil chapman 596051 596051 Arden, Virgil, of Fayreford, Glos, chapman 0
4324206 2138499 2138499 defendant Dymock Edward husbandman 737328 737328 Dymock, Edward, of Abson, Glos, husbandman 1
4324207 2138499 2138499 defendant Warkeman William chapman 640505 640505 Warkeman, William, of Strowde, Glos, chapman 2
4324208 2138499 2138499 defendant Chapman Richard chapman 737329 737329 Chapman, Richard, of Kyngestandley, Glos, chapman 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 14.127ms