home / cp40x

names

6 rows where case_id = 1926657

✎ 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
3701317 1926657 1926657 plaintiff Botry William mercer 585869 585869 Botry, William, of London, mercer 0
3701318 1926657 1926657 defendant Walron William esq 613987 613987 Walron, William, of Bovy, Seyton, Devon, esq 0
3701319 1926657 1926657 defendant Cook John, senior esq 613988 613988 Cook, John, senior, of Thorn, Devon, esq 1
3701320 1926657 1926657 defendant Longland Luke gent 585869 585869 Longland, Luke, of London, gent 2
3701321 1926657 1926657 defendant Vyall John gent 613989 613989 Vyall, John, of Hampsted Norys, Berks, gent 3
3701322 1926657 1926657 defendant Aleyn John yeoman 613833 613833 Aleyn, John, of Hampsted Norys, yeoman 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.526ms