home / cp40x

names

7 rows where case_id = 2336867

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4933512 2336867 2336867 plaintiff Zouch alias Pelham John (legal representative)   Zouch alias Pelham, John, executor of 0
4933513 2336867 2336867 plaintiff Bremshet John esq   Bremshet, John, esq 1
4933514 2336867 2336867 defendant Fretour Thomas husbandman 594154 594154 Fretour, Thomas, of Laghton, husbandman 0
4933515 2336867 2336867 defendant Trachon Robert husbandman 623350 623350 Trachon, Robert, of Chydynglegh, husbandman 1
4933516 2336867 2336867 defendant atte Bregge Henry husbandman 586023 586023 atte Bregge, Henry, of Laughton, husbandman 2
4933517 2336867 2336867 defendant atte Bregge John, senior husbandman 586023 586023 atte Bregge, John, senior, of Laughton, husbandman 3
4933518 2336867 2336867 defendant atte Bregge John, junior husbandman 586023 586023 atte Bregge, John, junior, of Laughton, husbandman 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 14.476ms