home / cp40x

names

7 rows where case_id = 2206365

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4519219 2206365 2206365 plaintiff Dymesdale Henry     Dymesdale, Henry 0
4519220 2206365 2206365 defendant up Howell Daiker   586117 586117 up Howell, Daiker, of Coventry 0
4519221 2206365 2206365 defendant Tebbe William     Tebbe, William 1
4519222 2206365 2206365 defendant Smyth John   589100 589100 Smyth, John, of Chesterton 2
4519223 2206365 2206365 defendant Bate John   596471 596471 Bate, John, of Trentham 3
4519224 2206365 2206365 defendant Wodeheuere John   596471 596471 Wodeheuere, John, of Trentham 4
4519225 2206365 2206365 defendant Smyth Alice   765642 765642 Smyth, Alice, of Madeleys 5

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