home / cp40x

names

7 rows where case_id = 2332641

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4919617 2332641 2332641 plaintiff Hokham John     Hokham, John 0
4919618 2332641 2332641 defendant Harbald Willam clerk 658818 658818 Harbald, Willam, of Stukey, clerk 0
4919619 2332641 2332641 defendant Hervy Willam grainer 585936 585936 Hervy, Willam, of Norwich, grainer 1
4919620 2332641 2332641 defendant Londe Peter weaver 598493 598493 Londe, Peter, of Spykesworth, weaver 2
4919621 2332641 2332641 defendant Stele Willam husbandman 656938 656938 Stele, Willam, of Matesale, husbandman 3
4919622 2332641 2332641 defendant Caston Willam   822097 822097 Caston, Willam, of Founsete, wright 4
4919623 2332641 2332641 defendant Lunge John husbandman 608585 608585 Lunge, John, of Poswyk, husbandman 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 17.487ms