home / cp40x

names

7 rows where case_id = 2284156

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4762193 2284156 2284156 plaintiff Fenne John chaplain   Fenne, John, chaplain 0
4762194 2284156 2284156 defendant Blakehall William husbandman 798497 798497 Blakehall, William, of North Huwys, husbandman 0
4762195 2284156 2284156 defendant Sture Stephen husbandman 798497 798497 Sture, Stephen, of North Huwys, husbandman 1
4762196 2284156 2284156 defendant Aleyn John husbandman 784131 784131 Aleyn, John, of Lodeswyll, husbandman 2
4762197 2284156 2284156 defendant Broune John butcher 599457 599457 Broune, John, of Dartmouth, butcher 3
4762198 2284156 2284156 defendant Howe David (legal representative) 798498 798498 Howe, David, of Bukfastlee, vicar, executor of 4
4762199 2284156 2284156 defendant Monk Roger chaplain 593865 593865 Monk, Roger, of Uggeburgh, chaplain 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 13.931ms