home / cp40x

names

4 rows where case_id = 2200831

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4500684 2200831 2200831 plaintiff Kelly Mathew     Kelly, Mathew 0
4500685 2200831 2200831 defendant Smyth Nicholas   763822 763822 Smyth, Nicholas, of Ryngemere 0
4500686 2200831 2200831 defendant Aptot Nicholas     Aptot, Nicholas 1
4500687 2200831 2200831 defendant Gower William   763822 763822 Gower, William, of Ryngemere 2

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.334ms