home / cp40x

names

5 rows where case_id = 2093467

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4194028 2093467 2093467 plaintiff Calmady Richard gent, attorney   Calmady, Richard, gent, attorney 0
4194029 2093467 2093467 defendant Stuckley Christopher gent 712490 712490 Stuckley, Christopher, of Farendon, Devon, gent 0
4194030 2093467 2093467 defendant Shere Francis widow 712491 712491 Shere, Francis, of Aynsbery, Hunts, widow 1
4194031 2093467 2093467 defendant Randall Edward yeoman 712492 712492 Randall, Edward, of Venetrie, Devon, yeoman 2
4194032 2093467 2093467 defendant Mortymer Richard husbandman 673824 673824 Mortymer, Richard, of Berry Pomery, Devon, husbandman 3

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