home / cp40x

names

6 rows where case_id = 2005180

✎ 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
3944511 2005180 2005180 plaintiff Bastard Francis gent 590276 590276 Bastard, Francis, of West Wynche, gent 0
3944512 2005180 2005180 defendant Dalderby Thomas smith 657477 657477 Dalderby, Thomas, of Sachy, smith 0
3944513 2005180 2005180 defendant Grewson Richard   657148 657148 Grewson, Richard, of Kings Lenne, rope maker 1
3944514 2005180 2005180 defendant Hardy Robert yeoman 597883 597883 Hardy, Robert, of Hycham, yeoman 2
3944515 2005180 2005180 defendant Frende Edmund husbandman 657479 657479 Frende, Edmund, of Shuldham Thorpe, husbandman 3
3944516 2005180 2005180 defendant Colson Clement laborer 628017 628017 Colson, Clement, of Est Wynche, laborer 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 16.65ms