home / cp40x

names

8 rows where case_id = 2176179

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4436581 2176179 2176179 plaintiff (not given)   abbot of St Ebrulpho   St Ebrulpho, abbot of 0
4436582 2176179 2176179 defendant (not given)   prior of Wolricheston   Wolricheston, prior of 0
4436583 2176179 2176179 defendant Brentynghby Simon de   587025 587025 Brentynghby, Simon de, of Houghton, parson 1
4436584 2176179 2176179 defendant Knossyngton William de chaplain   Knossyngton, William de, chaplain 2
4436585 2176179 2176179 defendant Welleflte John de     Welleflte, John de 3
4436586 2176179 2176179 defendant Broughton Lawrence de     Broughton, Lawrence de 4
4436587 2176179 2176179 defendant Adekyn Roger   587025 587025 Adekyn, Roger, of Houghton 5
4436588 2176179 2176179 defendant Humberston John de     Humberston, John de 6

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