home / cp40x

names

7 rows where case_id = 2528998

✎ 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
5580521 2528998 2528998 plaintiff Canceller Thomas (legal representative) 902407 902407 Canceller, Thomas, of Sutton att Hone, esq, executors of 0
5580522 2528998 2528998 plaintiff Meryng William knight   (Meryng, William, knight 1
5580523 2528998 2528998 plaintiff Saunder Henry     Saunder, Henry 2
5580524 2528998 2528998 defendant Heyward John (legal representative) 593654 593654 Heyward, John, of Bray, Berks, husbandman, executor of 0
5580525 2528998 2528998 defendant Heyward John husbandman 594598 594598 Heyward, John, of Bray, husbandman 1
5580526 2528998 2528998 defendant Bowyer Robert (legal representative) 594598 594598 Bowyer, Robert, of Bray, husbandman, executor of 2
5580527 2528998 2528998 defendant Aylmer Walter yeoman 594598 594598 (Aylmer, Walter, of Bray, yeoman 3

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