home / cp40x

names

7 rows where case_id = 2425887

✎ 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
5235244 2425887 2425887 plaintiff Davy John (legal representative) 590066 590066 Davy, John, of Bryggewater, merchant, executors of 0
5235245 2425887 2425887 plaintiff Kendale John     (Kendale, John 1
5235246 2425887 2425887 defendant Lymbery Matthew yeoman 597086 597086 Lymbery, Matthew, of Mynhed, yeoman 0
5235247 2425887 2425887 defendant Clement John yeoman 585996 585996 Clement, John, of Briggewater, yeoman 1
5235248 2425887 2425887 defendant Hollocke John husbandman 785944 785944 Hollocke, John, of West Neweton, husbandman 2
5235249 2425887 2425887 defendant Barbour Richard barber 599392 599392 Barbour, Richard, of Shirborn, Dorset, barber 3
5235250 2425887 2425887 defendant Raake Robert merchant 632055 632055 Raake, Robert, of Shirborn, merchant 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 12.49ms