home / cp40x

names

5 rows where case_id = 2444195

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5297274 2444195 2444195 plaintiff Yogge William merchant 592959 592959 Yogge, William, of Plymmouth, Devon, merchant 0
5297275 2444195 2444195 defendant Karver John merchant 585932 585932 Karver, John, of Kingston on Hull, merchant 0
5297276 2444195 2444195 defendant Payntour alias Mason John merchant 586901 586901 Payntour alias Mason, John, of Nottingham, merchant 1
5297277 2444195 2444195 defendant Day Thomas (legal representative) 585932 585932 Day, Thomas, of Kingston on Hull, merchant, executrix of 2
5297278 2444195 2444195 defendant Day Alice widow 585932 585932 Day, Alice, of Kingston on Hull, widow 3

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