home / cp40x

names

9 rows where case_id = 2241439

✎ 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
4633857 2241439 2241439 plaintiff Weston John   776445 776445 Weston, John, of Papeworth 0
4633858 2241439 2241439 plaintiff Westebroke William     Westebroke, William 1
4633859 2241439 2241439 plaintiff Payn Henry     Payn, Henry 2
4633860 2241439 2241439 plaintiff Bover William     Bover, William 3
4633861 2241439 2241439 defendant Erle Stephen   776446 776446 Erle, Stephen, of Wytle 0
4633862 2241439 2241439 defendant Erle John son of Stephen Erle, sen   Erle, John, son of Stephen Erle, sen 1
4633863 2241439 2241439 defendant Courte Simon   776446 776446 Courte, Simon, of Wytle 2
4633864 2241439 2241439 defendant Astolf William     Astolf, William 3
4633865 2241439 2241439 defendant Penycod John     Penycod, John 4

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