home / cp40x

names

8 rows where case_id = 2195462

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4483255 2195462 2195462 plaintiff Newman John (legal representative)   Newman, John, executrix of 0
4483256 2195462 2195462 plaintiff Newman Alice formerly wife of Testator   Newman, Alice, formerly wife of Testator 1
4483257 2195462 2195462 defendant Skynner William   624989 624989 Skynner, William, of Glaston 0
4483258 2195462 2195462 defendant Sonde Richard tailor 604261 604261 Sonde, Richard, of Wells, tailor 1
4483259 2195462 2195462 defendant Bolys William   761949 761949 Bolys, William, of Outhover 2
4483260 2195462 2195462 defendant Delewes Christine   761950 761950 Delewes, Christine, of Benhangre 3
4483261 2195462 2195462 defendant Tymme Richard, senior   588233 588233 Tymme, Richard, senior, of Charleton 4
4483262 2195462 2195462 defendant Reys Walter   586813 586813 Reys, Walter, of Pylton 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 6.12ms