home / cp40x

names

8 rows where case_id = 2244676

✎ 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
4645232 2244676 2244676 plaintiff Moulyssh John     Moulyssh, John 0
4645233 2244676 2244676 defendant Cole Reginald   777436 777436 Cole, Reginald, of Buddelgh 0
4645234 2244676 2244676 defendant Poureworthy William smith   Poureworthy, William, smith 1
4645235 2244676 2244676 defendant Croft William smith   Croft, William, smith 2
4645236 2244676 2244676 defendant Prous William     Prous, William 3
4645237 2244676 2244676 defendant Smyth William   631017 631017 Smyth, William, of Stokenham 4
4645238 2244676 2244676 defendant Asshelegh John   777437 777437 Asshelegh, John, of Yarnemouth 5
4645239 2244676 2244676 defendant Lyngge John     Lyngge, John 6

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