home / cp40x

names

7 rows where case_id = 2441381

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5287540 2441381 2441381 plaintiff Kent John (legal representative) 586067 586067 Kent, John, of York, merchant, executrix of 0
5287541 2441381 2441381 plaintiff Kent Mary     Kent, Mary 1
5287542 2441381 2441381 defendant Barker John shoemaker 772698 772698 Barker, John, of Burghbryg, shoemaker 0
5287543 2441381 2441381 defendant Spence Richard chapman 615257 615257 Spence, Richard, of Richemond, chapman 1
5287544 2441381 2441381 defendant Henryson William clerk 868888 868888 Henryson, William, of Thornton Watlos, clerk 2
5287545 2441381 2441381 defendant Rasebek Ralph barber 801066 801066 Rasebek, Ralph, of Neweburgh, barber 3
5287546 2441381 2441381 defendant Todryke John cordwainer 586098 586098 Todryke, John, of Snape, cordwainer 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 15.273ms