home / cp40x

names

6 rows where case_id = 2000334

✎ 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
3929875 2000334 2000334 plaintiff Chester Thomas     Chester, Thomas 0
3929876 2000334 2000334 defendant Lambe Thomas clothier 585871 585871 Lambe, Thomas, of Taunton, Soms, clothier 0
3929877 2000334 2000334 defendant Gwyn Robert yeoman 653803 653803 Gwyn, Robert, of Cardiff, Glams, yeoman 1
3929878 2000334 2000334 defendant Style William yeoman 653804 653804 Style, William, of Keynsham, Soms, yeoman 2
3929879 2000334 2000334 defendant Johns Robert gent 653805 653805 Johns, Robert, of Caerlyon, Monms, gent 3
3929880 2000334 2000334 defendant Pryse David yeoman 653806 653806 Pryse, David, of Magore, Monms, 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 13.137ms