home / cp40x

names

8 rows where case_id = 2017272

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3979088 2017272 2017272 plaintiff Mychell Robert     Mychell, Robert 0
3979089 2017272 2017272 defendant Blake John innholder 605263 605263 Blake, John, of Frome Selwood, innholder 0
3979090 2017272 2017272 defendant Bennet William goldsmith 665968 665968 Bennet, William, of Mydle Chynock, clerk Penfold, William, of Exeter, goldsmith 1
3979091 2017272 2017272 defendant Trott William clothier 665969 665969 Trott, William, of Pyckmester, clothier 2
3979092 2017272 2017272 defendant Davy William mercer 665970 665970 Davy, William, of Old Clyff, mercer 3
3979093 2017272 2017272 defendant Cock John husbandman 665971 665971 Cock, John, of St Collyscombe, husbandman 4
3979094 2017272 2017272 defendant Cogan John merchant 586368 586368 Cogan, John, of Taunton, merchant 5
3979095 2017272 2017272 defendant Marten John merchant 586368 586368 Marten, John, of Taunton, merchant 6

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 14.354ms