home / cp40x

names

6 rows where case_id = 2397977

✎ 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
5139275 2397977 2397977 plaintiff Shilston John, junior     Shilston, John, junior 0
5139276 2397977 2397977 defendant Pellowe John husbandman 612035 612035 Pellowe, John, of Lyfton, husbandman 0
5139277 2397977 2397977 defendant Chard Richard husbandman 851865 851865 Chard, Richard, of Bratton by Lyfton, husbandman 1
5139278 2397977 2397977 defendant Dollynge John husbandman 587156 587156 Dollynge, John, of Lamerton, husbandman 2
5139279 2397977 2397977 defendant Lybbe William (legal representative) 586378 586378 Lybbe, William, of Tavestoke, executrix of 3
5139280 2397977 2397977 defendant Lybbe Joan widow   Lybbe, Joan, widow 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 16.98ms