home / cp40x

names

6 rows where case_id = 1944060

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3756645 1944060 1944060 plaintiff Aysshelegh Lawrence pewterer 585869 585869 Aysshelegh, Lawrence, of London, pewterer 0
3756646 1944060 1944060 defendant Martyn John husbandman 624200 624200 Martyn, John, of Faryndon, Devon, husbandman 0
3756647 1944060 1944060 defendant Pett William glasier 586036 586036 Pett, William, of Exeter, glasier 1
3756648 1944060 1944060 defendant Baron John (legal representative) 676810 676810 Baron, John, of Pynho, executors of 2
3756649 1944060 1944060 defendant Baron James husbandman 624201 624201 (Baron, James, of Rewe, Devon, husbandman 3
3756650 1944060 1944060 defendant Baron John husbandman 609256 609256 Baron, John, of Rewe, 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 18.457ms