home / cp40x

names

8 rows where case_id = 2307222

✎ 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
4835934 2307222 2307222 plaintiff Dunstapull John esq   Dunstapull, John, esq 0
4835935 2307222 2307222 plaintiff Bytterley Richard     Bytterley, Richard 1
4835936 2307222 2307222 plaintiff Hammes Richard     Hammes, Richard 2
4835937 2307222 2307222 plaintiff Borowe John     Borowe, John 3
4835938 2307222 2307222 plaintiff Spendelove John     Spendelove, John 4
4835939 2307222 2307222 plaintiff Sterkey Thomas     Sterkey, Thomas 5
4835940 2307222 2307222 plaintiff Maiot Henry     Maiot, Henry 6
4835941 2307222 2307222 defendant Wycombe John husbandman 603380 603380 Wycombe, John, of Hemel Hempstead, husbandman 0

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