home / cp40x

names

7 rows where case_id = 2257037

✎ 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
4672454 2257037 2257037 plaintiff Cok William (legal representative) 641884 641884 Cok, William, of Wymundham, executors of 0
4672455 2257037 2257037 plaintiff Cok Isabel   641884 641884 (Cok, Isabel, of Wymundham, formerly wife of Testator 1
4672456 2257037 2257037 plaintiff Cok John brother of Testator 781386 781386 Cok, John, of Schymplynge, brother of Testator 2
4672457 2257037 2257037 plaintiff Bredman John   586102 586102 Bredman, John, of Hengham 3
4672458 2257037 2257037 defendant Talwyn John husbandman 586043 586043 Talwyn, John, of Reymerston, husbandman 0
4672459 2257037 2257037 defendant Cantele John husbandman 634983 634983 Cantele, John, of Morlee, husbandman 1
4672460 2257037 2257037 defendant Talwyn Henry husbandman 587172 587172 Talwyn, Henry, of East Derham, husbandman 2

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 17.835ms