home / cp40x

names

6 rows where case_id = 2328267

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4905357 2328267 2328267 plaintiff Belwode Thomas (legal representative)   Belwode, Thomas, executrix of 0
4905358 2328267 2328267 plaintiff Belwode Elizabeth     Belwode, Elizabeth 1
4905359 2328267 2328267 defendant Lee John, senior yeoman 622943 622943 Lee, John, senior, of Hayton, yeoman 0
4905360 2328267 2328267 defendant Lee John, junior yeoman 622943 622943 Lee, John, junior, of Hayton, yeoman 1
4905361 2328267 2328267 defendant Skelton William   614663 614663 Skelton, William, of Madersey, court holder 2
4905362 2328267 2328267 defendant Jakson Richard husbandman 819794 819794 Jakson, Richard, of Thorp juxta Madersey, husbandman 3

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