home / cp40x

names

7 rows where case_id = 2435882

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5268391 2435882 2435882 plaintiff Bentley Thomas   590448 590448 Bentley, Thomas, of Alton 0
5268392 2435882 2435882 plaintiff at Hethe William   803520 803520 at Hethe, William, of Roppeley 1
5268393 2435882 2435882 defendant at Heth John (legal representative) 803520 803520 at Heth, John, of Roppeley, husbandman, executrix of 0
5268394 2435882 2435882 defendant at Heth Margery widow 803520 803520 at Heth, Margery, of Roppeley, widow 1
5268395 2435882 2435882 defendant Newelych John (legal representative) 866299 866299 Newelych, John, of Emshet, husbandman, executors of 2
5268396 2435882 2435882 defendant Rauyn John yeoman 586741 586741 (Rauyn, John, of Hyde by Winchester, yeoman 3
5268397 2435882 2435882 defendant Rauyn Joan formerly wife of Testator   Joan, his wife, formerly wife of Testator 4

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