home / cp40x

names

7 rows where case_id = 2367896

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5037688 2367896 2367896 plaintiff Wombewell Thomas     Wombewell, Thomas 0
5037689 2367896 2367896 defendant Aumbuler John husbandman 587379 587379 Aumbuler, John, of Doncastre, husbandman 0
5037690 2367896 2367896 defendant Loon Richard husbandman 766951 766951 Loon, Richard, of Wyntworth, husbandman 1
5037691 2367896 2367896 defendant Hole John husbandman 766951 766951 Hole, John, of Wyntworth, husbandman 2
5037692 2367896 2367896 defendant Warde John husbandman 812898 812898 Warde, John, of Thurgurland, husbandman 3
5037693 2367896 2367896 defendant Holey Robert husbandman 630899 630899 Holey, Robert, of Adwyke, husbandman 4
5037694 2367896 2367896 defendant Porter John husbandman 588253 588253 Porter, John, of Clayton, husbandman 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 16.019ms