home / cp40x

names

7 rows where case_id = 2484739

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5432674 2484739 2484739 plaintiff Manwell Agnes (legal representative)   Manwell, Agnes, executrix of Richard Manwell, of York, baker, executor of 0
5432675 2484739 2484739 plaintiff Hancok William merchant 586067 586067 Hancok, William, of York, merchant 1
5432676 2484739 2484739 defendant Hall Robert husbandman 766703 766703 Hall, Robert, of Bisshop Wilton, husbandman 0
5432677 2484739 2484739 defendant Aunger John yeoman 600857 600857 Aunger, John, of Birdsall, yeoman 1
5432678 2484739 2484739 defendant Ingram Brian chaplain 886947 886947 Ingram, Brian, of Ermynston on the Wold, chaplain 2
5432679 2484739 2484739 defendant Basse Robert husbandman 622646 622646 Basse, Robert, of North Dalton, husbandman 3
5432680 2484739 2484739 defendant Richardson Robert husbandman 886948 886948 Richardson, Robert, of Kirkhil, husbandman 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 16.947ms