home / cp40x

names

6 rows where case_id = 2430977

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5252772 2430977 2430977 plaintiff Bellers Margaret prioress of Langley Priory   Bellers, Margaret, prioress of Langley Priory 0
5252773 2430977 2430977 defendant Belgrave John gent 599287 599287 Belgrave, John, of Belgrave, gent 0
5252774 2430977 2430977 defendant Boteler Henry husbandman 599287 599287 Boteler, Henry, of Belgrave, husbandman 1
5252775 2430977 2430977 defendant Tredgolde John yeoman 586435 586435 Tredgolde, John, of Leicester, yeoman 2
5252776 2430977 2430977 defendant Croxton William ironmonger 586435 586435 Croxton, William, of Leicester, ironmonger 3
5252777 2430977 2430977 defendant Grysby Thomas ironmonger 586435 586435 Grysby, Thomas, of Leicester, ironmonger 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 13.869ms