home / cp40x

names

7 rows where case_id = 2500718

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5486070 2500718 2500718 plaintiff Roberth Walter esq   Roberth, Walter, esq 0
5486071 2500718 2500718 defendant Graunger William (legal representative) 586569 586569 Graunger, William, of Merden, executrix of 0
5486072 2500718 2500718 defendant Graunger Alice widow   Graunger, Alice, widow 1
5486073 2500718 2500718 defendant Couper Robert husbandman 588739 588739 Couper, Robert, of Tyseherst, husbandman 2
5486074 2500718 2500718 defendant William John husbandman 588182 588182 William, John, of Stapilherst, husbandman 3
5486075 2500718 2500718 defendant Tagge Ralph chaplain 585864 585864 Tagge, Ralph, of Cranebroke, chaplain 4
5486076 2500718 2500718 defendant Croche Thomas smith 595241 595241 Croche, Thomas, of Brenchelse, smith 5

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.603ms