home / cp40x

names

6 rows where case_id = 2386619

✎ 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
5100658 2386619 2386619 plaintiff Acton Thomas vintner 585869 585869 Acton, Thomas, of London, vintner 0
5100659 2386619 2386619 defendant Heth William brewer 585869 585869 Heth, William, of London, brewer 0
5100660 2386619 2386619 defendant Richardson John baker 585869 585869 Richardson, John, of London, baker 1
5100661 2386619 2386619 defendant Theweley John brewer 585869 585869 Theweley, John, of London, brewer 2
5100662 2386619 2386619 defendant Person Richard husbandman 846398 846398 Person, Richard, of West Twyford, husbandman 3
5100663 2386619 2386619 defendant Haverell Robert gent 585869 585869 Haverell, Robert, of London, gent 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 11.385ms