home / cp40x

names

6 rows where case_id = 2536117

✎ 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
5603992 2536117 2536117 plaintiff Power Christopher     Power, Christopher 0
5603993 2536117 2536117 defendant Knot Hugh slater 611223 611223 Knot, Hugh, of Weymouth, slater 0
5603994 2536117 2536117 defendant Pount John Bayle, John, of Weymouth, yeoman   Pount, John, Bayle, John, of Weymouth, yeoman 1
5603995 2536117 2536117 defendant Osmond Thomas fisher 596172 596172 Osmond, Thomas, of Wareham, fisher 2
5603996 2536117 2536117 defendant Harrys Robert yeoman 596172 596172 Harrys, Robert, of Wareham, yeoman 3
5603997 2536117 2536117 defendant Gyllot Thomas clerk 596172 596172 Gyllot, Thomas, of Wareham, clerk 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 15.728ms