home / cp40x

names

6 rows where case_id = 2296782

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4801910 2296782 2296782 plaintiff Wyot Thomas     Wyot, Thomas 0
4801911 2296782 2296782 defendant atte Pury Richard husbandman 644071 644071 atte Pury, Richard, of Gunston, husbandman 0
4801912 2296782 2296782 defendant Colet John chaplain 776285 776285 Colet, John, of Gnowesale, chaplain 1
4801913 2296782 2296782 defendant Cokes John carpenter 778502 778502 Cokes, John, of Lecroft, carpenter 2
4801914 2296782 2296782 defendant Sabson or Sauson William (legal representative) 598634 598634 Sabson or Sauson, William, of Wirley, executors of 3
4801915 2296782 2296782 defendant del More Thomas husbandman 624728 624728 (del More, Thomas, of Magna Wirley, 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.322ms