home / cp40x

names

12 rows where case_id = 2218117

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4556988 2218117 2218117 plaintiff Kenrigg Richard     Kenrigg, Richard 0
4556989 2218117 2218117 plaintiff Gille John     Gille, John 1
4556990 2218117 2218117 defendant Halewill John     Halewill, John 0
4556991 2218117 2218117 defendant Rowe William clerk   Rowe, William, clerk 1
4556992 2218117 2218117 defendant Rowe Hugh     Rowe, Hugh 2
4556993 2218117 2218117 defendant Wakham Walter     together with Wakham, Walter 3
4556994 2218117 2218117 defendant Wakham Richard     Wakham, Richard 4
4556995 2218117 2218117 defendant Bekebury John     Bekebury, John 5
4556996 2218117 2218117 defendant Yoman William     Yoman, William 6
4556997 2218117 2218117 defendant Short Walter     Short, Walter 7
4556998 2218117 2218117 defendant Martyn Nicholas haulier   Martyn, Nicholas, haulier 8
4556999 2218117 2218117 defendant Wethilond John clerk   Wethilond, John, clerk 9

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