home / cp40x

names

7 rows where case_id = 2225309

✎ 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
4580244 2225309 2225309 plaintiff Danyell John esq   Danyell, John, esq 0
4580245 2225309 2225309 plaintiff Bregge Thomas   602914 602914 Bregge, Thomas, of Frekenham 1
4580246 2225309 2225309 defendant Batesford John     Batesford, John 0
4580247 2225309 2225309 defendant Shyllyng John jun, of Badlyngham   Shyllyng, John, jun, of Badlyngham 1
4580248 2225309 2225309 defendant Basset John   602914 602914 Basset, John, of Frekenham 2
4580249 2225309 2225309 defendant Tymworth John   609783 609783 Tymworth, John, of Badlyngham 3
4580250 2225309 2225309 defendant Thressher Peter   609783 609783 Thressher, Peter, of Badlyngham 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.019ms