home / cp40x

names

5 rows where case_id = 2311032

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4848585 2311032 2311032 plaintiff Sholton Thomas     Sholton, Thomas 0
4848586 2311032 2311032 plaintiff Stubcroft Robert     Stubcroft, Robert 1
4848587 2311032 2311032 defendant Irke Alice widow 812215 812215 Irke, Alice, of Beeston by Smalbergh, widow 0
4848588 2311032 2311032 defendant Dysse Richard yeoman 595628 595628 Dysse, Richard, of Appulton, yeoman 1
4848589 2311032 2311032 defendant Geryng John miller 812216 812216 Geryng, John, of Shetlon, miller 2

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