home / cp40x

names

10 rows where case_id = 2493648

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5462370 2493648 2493648 plaintiff Petyt Michael     Petyt, Michael 0
5462371 2493648 2493648 defendant Rous Andrew husbandman 888864 888864 Rous, Andrew, of Tregesevys, husbandman 0
5462372 2493648 2493648 defendant Skete Unman husbandman 888865 888865 Skete, Unman, of Trevans in St Austel, husbandman 1
5462373 2493648 2493648 defendant Trethowell Richard husbandman 879672 879672 Trethowell, Richard, of Trethowell, husbandman 2
5462374 2493648 2493648 defendant Carthu John husbandman 879673 879673 Carthu, John, of Perrys, husbandman 3
5462375 2493648 2493648 defendant Rawelyn Benedict husbandman 888866 888866 Rawelyn, Benedict, of Caru, husbandman 4
5462376 2493648 2493648 defendant Gwynnowe Nicholas husbandman 879674 879674 Gwynnowe, Nicholas, of Trevon, husbandman 5
5462377 2493648 2493648 defendant Bosithiowe John husbandman 890127 890127 Bosithiowe, John, of Bosithiowe, husbandman 6
5462378 2493648 2493648 defendant Hendy Ralph husbandman 890128 890128 Hendy, Ralph, of Brougellowe, husbandman 7
5462379 2493648 2493648 defendant Swere Robert husbandman 888869 888869 Swere, Robert, of Trembeth, husbandman 8

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