home / cp40x

names

8 rows where case_id = 2532807

✎ 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
5593021 2532807 2532807 plaintiff Wyghtman William (legal representative) 596935 596935 Wyghtman, William, of Baketon, executors of 0
5593022 2532807 2532807 plaintiff Goche Robert     (Goche, Robert 1
5593023 2532807 2532807 plaintiff Wyghtman John     Wyghtman, John 2
5593024 2532807 2532807 defendant Man Richard husbandman 590415 590415 Man, Richard, of Mildenhale, husbandman 0
5593025 2532807 2532807 defendant Colby John husbandman 594179 594179 Colby, John, of Cotton, husbandman 1
5593026 2532807 2532807 defendant Denny John husbandman 647907 647907 Denny, John, of Wykhamskeyth, husbandman 2
5593027 2532807 2532807 defendant Vale John husbandman 647907 647907 Vale, John, of Wykhamskeyth, husbandman 3
5593028 2532807 2532807 defendant Kyng William husbandman 588802 588802 Kyng, William, of Wotton, 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 16.295ms