home / cp40x

names

9 rows where case_id = 2229385

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4593960 2229385 2229385 plaintiff (not given)   abbot of Peterborough   Peterborough, abbot of 0
4593961 2229385 2229385 defendant Belle Hugh   754696 754696 Belle, Hugh, of Eylesworth 0
4593962 2229385 2229385 defendant Asselyn John   754696 754696 Asselyn, John, of Eylesworth 1
4593963 2229385 2229385 defendant Lewyn Robert jun, of Upton   Lewyn, Robert, jun, of Upton 2
4593964 2229385 2229385 defendant Asselyn Hugh   586005 586005 Asselyn, Hugh, of Upton 3
4593965 2229385 2229385 defendant Asselyn Bartholomew   586005 586005 Asselyn, Bartholomew, of Upton 4
4593966 2229385 2229385 defendant Gibbesson John   586005 586005 Gibbesson, John, of Upton 5
4593967 2229385 2229385 defendant Halleman of Castre     Halleman, of Castre 6
4593968 2229385 2229385 defendant Gibbesson Geoffrey   586005 586005 Gibbesson, Geoffrey, of Upton 7

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.319ms