home / cp40x

names

9 rows where case_id = 2338986

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4940282 2338986 2338986 plaintiff de Ferrarys Thomas esq   de Ferrarys, Thomas, esq 0
4940283 2338986 2338986 plaintiff Willoughby Hugh knight   Willoughby, Hugh, knight 1
4940284 2338986 2338986 plaintiff Aston Robert     Aston, Robert 2
4940285 2338986 2338986 defendant Duke John chaplain 761651 761651 Duke, John, of Thamworth, chaplain 0
4940286 2338986 2338986 defendant Rameshed William tailor 761651 761651 Rameshed, William, of Thamworth, tailor 1
4940287 2338986 2338986 defendant Porche Robert   825048 825048 Porche, Robert, of Thamworth, Staffs, servant 2
4940288 2338986 2338986 defendant Overton John laborer 607374 607374 Overton, John, of Waverton, laborer 3
4940289 2338986 2338986 defendant Baker Thomas   825049 825049 Baker, Thomas, of Poll-, servant 4
4940290 2338986 2338986 defendant Synge Robert   671886 671886 Synge, Robert, of Walton on Trent, Derbs, mason 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 13.938ms