home / cp40x

names

9 rows where case_id = 2282275

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4756055 2282275 2282275 plaintiff Batyn John     Batyn, John 0
4756056 2282275 2282275 plaintiff Herescote Thomas     Herescote, Thomas 1
4756057 2282275 2282275 plaintiff Cheddesley John     Cheddesley, John 2
4756058 2282275 2282275 defendant Baron Walter husbandman 797382 797382 Baron, Walter, of Nether or Lower Gabbewell, husbandman 0
4756059 2282275 2282275 defendant Baron John husbandman 797383 797383 Baron, John, of Neyther Gabbewell, husbandman 1
4756060 2282275 2282275 defendant Underhill William husbandman 797384 797384 together with Underhill, William, of Nyther Gabbewell, husbandman 2
4756061 2282275 2282275 defendant Cays John husbandman 797384 797384 Cays, John, of Nyther Gabbewell, husbandman 3
4756062 2282275 2282275 defendant atte Thorne John husbandman 797384 797384 atte Thorne, John, of Nyther Gabbewell, husbandman 4
4756063 2282275 2282275 defendant Corbyn Robert husbandman 596683 596683 Corbyn, Robert, of Berton, 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 25.289ms