home / cp40x

names

8 rows where case_id = 2240770

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4631583 2240770 2240770 plaintiff Thorp William (legal representative) 776239 776239 Thorp, William, of Little Chesterforth, chaplain & formerly of the chantry, in Claveryng, Essex, executors of 0
4631584 2240770 2240770 plaintiff West John   585869 585869 (West, John, of London, stock fishmonger 1
4631585 2240770 2240770 plaintiff Thorp John     Thorp, John 2
4631586 2240770 2240770 defendant Bosoun John   761337 761337 Bosoun, John, of Great Massyngham, Norfolk 0
4631587 2240770 2240770 defendant Totenham Thomas   596226 596226 Totenham, Thomas, of Claveryng 1
4631588 2240770 2240770 defendant Pulter John   596226 596226 Pulter, John, of Claveryng 2
4631589 2240770 2240770 defendant Pays William   596226 596226 Pays, William, of Claveryng 3
4631590 2240770 2240770 defendant Bolyngton Robert     Bolyngton, Robert 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 13.183ms