home / cp40x

names

10 rows where case_id = 2184973

✎ 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
4450050 2184973 2184973 plaintiff Hacche Henry     Hacche, Henry 0
4450051 2184973 2184973 defendant Lough John     Lough, John 0
4450052 2184973 2184973 defendant Gond-- Robert     Gond--, Robert 1
4450053 2184973 2184973 defendant Benyn John   596246 596246 Benyn, John, of Henton 2
4450054 2184973 2184973 defendant Foulbrouk Walter     Foulbrouk, Walter 3
4450055 2184973 2184973 defendant Chilton Andrew     Chilton, Andrew 4
4450056 2184973 2184973 defendant Tr--t Nicholas     Tr--t, Nicholas 5
4450057 2184973 2184973 defendant Coker Robert     Coker, Robert 6
4450058 2184973 2184973 defendant Alford Robert     Alford, Robert 7
4450059 2184973 2184973 defendant Milton Walter     Milton, Walter 8

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