home / cp40x

names

9 rows where case_id = 2367177

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5035266 2367177 2367177 plaintiff (not given)   abbot of Teukesbury Abbey   Teukesbury Abbey, abbot of 0
5035267 2367177 2367177 defendant Brayne Walter husbandman 626075 626075 Brayne, Walter, of Nether Swell, husbandman 0
5035268 2367177 2367177 defendant Sampson John husbandman 626075 626075 Sampson, John, of Nether Swell, husbandman 1
5035269 2367177 2367177 defendant Lucas John, senior husbandman 626075 626075 Lucas, John, senior, of Nether Swell, husbandman 2
5035270 2367177 2367177 defendant Lucas John, junior husbandman 626075 626075 Lucas, John, junior, of Nether Swell, husbandman 3
5035271 2367177 2367177 defendant Seconton William chaplain 626075 626075 Seconton, William, of Nether Swell, chaplain 4
5035272 2367177 2367177 defendant Bode Thomas husbandman 626075 626075 Bode, Thomas, of Nether Swell, husbandman 5
5035273 2367177 2367177 defendant Hensham Richard husbandman 626075 626075 Hensham, Richard, of Nether Swell, husbandman 6
5035274 2367177 2367177 defendant Hastyng William husbandman 626075 626075 Hastyng, William, of Nether Swell, husbandman 7

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 16.161ms