home / cp40x

names

7 rows where case_id = 2447998

✎ 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
5309901 2447998 2447998 plaintiff Thurston John   871750 871750 Thurston, John, of Tydde, St Giles, Cambs 0
5309902 2447998 2447998 defendant Stote Gregory husbandman 599080 599080 Stote, Gregory, of West Walton, Norf, husbandman 0
5309903 2447998 2447998 defendant Newport Robert clerk 588580 588580 Newport, Robert, of West Walton, clerk 1
5309904 2447998 2447998 defendant Scot Robert husbandman 588580 588580 Scot, Robert, of West Walton, husbandman 2
5309905 2447998 2447998 defendant Geyton Thomas (legal representative) 586057 586057 Geyton, Thomas, of Walpole, husbandman, executors of 3
5309906 2447998 2447998 defendant Mayhewe Thomas butcher 586057 586057 (Mayhewe, Thomas, of Walpole, butcher 4
5309907 2447998 2447998 defendant Mayhewe Celia formerly wife of Thomas Geyton   Celia, his wife, formerly wife of Thomas Geyton 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 18.314ms