home / cp40x

names

7 rows where case_id = 2021031

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3989610 2021031 2021031 plaintiff Barsham Thomas   860785 860785 Barsham, Thomas, of Colkyrk, administrators of 0
3989611 2021031 2021031 plaintiff Barsham Thomas gent   (Barsham, Thomas, gent 1
3989612 2021031 2021031 defendant Pepys Thomas (legal representative) 669220 669220 Pepys, Thomas, of South Creake, gent, executors of 0
3989613 2021031 2021031 defendant Pepys John gent 649029 649029 (Pepys, John, of Cottenham, Cams, gent 1
3989614 2021031 2021031 defendant Norton Richard gent 668569 668569 Norton, Richard, of South Creake, Norf, gent 2
3989615 2021031 2021031 defendant Mansner Richard gent 668570 668570 Mansner, Richard, of North Creake, Norf, gent 3
3989616 2021031 2021031 defendant Smythe Henry yeoman 668571 668571 Smythe, Henry, of Stanhowe, Norf, 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 15.681ms