home / cp40x

names

7 rows where case_id = 1985379

✎ 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
3885421 1985379 1985379 plaintiff Bayly Richard gent   Bayly, Richard, gent 0
3885422 1985379 1985379 defendant Water John   645410 645410 Water, John, of Castle Bishop, Salop 0
3885423 1985379 1985379 defendant Symondys Griffin yeoman 645411 645411 Symondys, Griffin, of Brocton, Salop, yeoman 1
3885424 1985379 1985379 defendant Baugh Nicholas yeoman 645412 645412 Baugh, Nicholas, of Castle Bishop, yeoman 2
3885425 1985379 1985379 defendant Owens John yeoman 598633 598633 Owens, John, of Brocton, yeoman 3
3885426 1985379 1985379 defendant Vaughan David yeoman 617520 617520 Vaughan, David, of Acton, Salop, yeoman 4
3885427 1985379 1985379 defendant Mylward Humphrey yeoman 645414 645414 Mylward, Humphrey, of Toturton, Salop, yeoman 5

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.306ms