home / cp40x

names

9 rows where case_id = 2323802

✎ 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
4890540 2323802 2323802 plaintiff Banastre Roger (legal representative)   Banastre, Roger, executors of 0
4890541 2323802 2323802 plaintiff Banastre Thurstan his son   (Banastre, Thurstan, his son 1
4890542 2323802 2323802 plaintiff Banastre John     Banastre, John 2
4890543 2323802 2323802 plaintiff Banastre Christopher     Banastre, Christopher 3
4890544 2323802 2323802 plaintiff Werburton Geoffrey     Werburton, Geoffrey 4
4890545 2323802 2323802 defendant Pycard Hugh yeoman 757540 757540 Pycard, Hugh, of Ottelay, yeoman 0
4890546 2323802 2323802 defendant Laundour John draper 817989 817989 Laundour, John, of Crolond, Lincs, draper 1
4890547 2323802 2323802 defendant Cobold John gent 588456 588456 Cobold, John, of Yarmouth, gent 2
4890548 2323802 2323802 defendant Harper Roger harper 586887 586887 Harper, Roger, of Wakefeld, harper 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 19.443ms