home / cp40x

names

9 rows where case_id = 2019418

✎ 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
3985066 2019418 2019418 plaintiff Trethorffe John esq   Trethorffe, John, esq 0
3985067 2019418 2019418 plaintiff Vylyan John esq   Vylyan, John, esq 1
3985068 2019418 2019418 plaintiff Buller Margaret widow   Buller, Margaret, widow 2
3985069 2019418 2019418 defendant Megges Henry gent 616739 616739 Megges, Henry, of Crowan, gent 0
3985070 2019418 2019418 defendant Bevell Philip gent 667419 667419 Bevell, Philip, of Kelligarth, gent 1
3985071 2019418 2019418 defendant Pearce alias Evay William husbandman 616739 616739 Pearce alias Evay, William, of Crowan, husbandman 2
3985072 2019418 2019418 defendant Brane Pascase husbandman 616739 616739 Brane, Pascase, of Crowan, husbandman 3
3985073 2019418 2019418 defendant Broke Richard husbandman 616739 616739 Broke, Richard, of Crowan, husbandman 4
3985074 2019418 2019418 defendant Jenkynsyse John husbandman 616739 616739 Jenkynsyse, John, of Crowan, husbandman 5

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