home / cp40x

names

6 rows where case_id = 2522200

✎ 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
5557665 2522200 2522200 plaintiff Nikke Richard Bishop of Norwich   Nikke, Richard, Bishop of Norwich 0
5557666 2522200 2522200 defendant Myndram John clerk 617357 617357 Myndram, John, of Hepworth, Suff, clerk 0
5557667 2522200 2522200 defendant Gryffyn John yeoman 587417 587417 Gryffyn, John, of Stanton, Suff, yeoman 1
5557668 2522200 2522200 defendant Exsall Thomas clerk 621549 621549 Exsall, Thomas, of Bromehyll, clerk 2
5557669 2522200 2522200 defendant Baxter John yeoman 626560 626560 Baxter, John, of Garbolesham, yeoman 3
5557670 2522200 2522200 defendant Skelton Robert yeoman 639454 639454 Skelton, Robert, of Hengrave, Suff, 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.373ms