home / cp40x

names

5 rows where case_id = 2018564

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3982649 2018564 2018564 plaintiff Seman George   596298 596298 Seman, George, of Beccles gent 0
3982650 2018564 2018564 defendant Artys Henry husbandman 644659 644659 Artys, Henry, of Badyngham, Suff, husbandman 0
3982651 2018564 2018564 defendant Flegge John, senior husbandman 666843 666843 Flegge, John, senior, of Byttryn, Norf, husbandman 1
3982652 2018564 2018564 defendant Bolyant Edward yeoman 588117 588117 Bolyant, Edward, of Wrentham, Suff, yeoman 2
3982653 2018564 2018564 defendant Loklesse Augustine husbandman 623160 623160 Loklesse, Augustine, of Kesselond, Suff, husbandman 3

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