home / cp40x

names

6 rows where case_id = 2425419

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5233605 2425419 2425419 plaintiff Chyttok John alderman 585936 585936 Chyttok, John, of Norwich, alderman 0
5233606 2425419 2425419 defendant Bemond William, senior (legal representative) 592662 592662 Bemond, William, senior, of Letton, yeoman, executors of 0
5233607 2425419 2425419 defendant Scarlet Richard courtholder 586130 586130 (Scarlet, Richard, of Hoo, courtholder 1
5233608 2425419 2425419 defendant Platfote Thomas husbandman 830016 830016 Platfote, Thomas, of Shypden, husbandman 2
5233609 2425419 2425419 defendant Hendry Thomas yeoman 592662 592662 Hendry, Thomas, of Letton, yeoman 3
5233610 2425419 2425419 defendant Westhawe Richard smith 587172 587172 Westhawe, Richard, of Est Derham, smith 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.149ms