home / cp40x

names

7 rows where case_id = 2040843

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4045493 2040843 2040843 plaintiff Saltford Thomas attorney of the bench, gent   Saltford, Thomas, attorney of the bench, gent 0
4045494 2040843 2040843 defendant Dannett Leonard esq 585869 585869 Dannett, Leonard, of London, or of Dannett Hall, Leics, esq 0
4045495 2040843 2040843 defendant Eton John husbandman 681558 681558 Eton, John, of Northby, Oxon, husbandman 1
4045496 2040843 2040843 defendant Calcote John yeoman 681559 681559 Calcote, John, of Northby, yeoman 2
4045497 2040843 2040843 defendant Calcote Elizabeth widow 681559 681559 Calcote, Elizabeth, of Northby, widow 3
4045498 2040843 2040843 defendant Smythe John yeoman 587668 587668 Smythe, John, of Kenyngton, yeoman 4
4045499 2040843 2040843 defendant Chewe Thomas yeoman 619137 619137 Chewe, Thomas, of Frampton, Glos, yeoman 5

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