home / cp40x

names

6 rows where case_id = 2337858

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4936688 2337858 2337858 plaintiff Bray John   594452 594452 Bray, John, of Hilton 0
4936689 2337858 2337858 defendant Harry Richard tucker 824597 824597 Harry, Richard, of Bukfastlegh, Devon, tucker 0
4936690 2337858 2337858 defendant Smyth William smith 635210 635210 Smyth, William, of St Tudy, smith 1
4936691 2337858 2337858 defendant Byan Henry carpenter 635210 635210 Byan, Henry, of St Tudy, carpenter 2
4936692 2337858 2337858 defendant Clyverdon John butcher 824598 824598 Clyverdon, John, of Bradeworthy, Devon, butcher 3
4936693 2337858 2337858 defendant Trote John yeoman 587114 587114 Trote, John, of Bodmyn, yeoman 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 18.134ms