home / cp40x

names

8 rows where case_id = 1958395

✎ 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
3801574 1958395 1958395 plaintiff More Thomas knight, Chancelor   More, Thomas, knight, Chancelor 0
3801575 1958395 1958395 defendant Butler Thomas esq 625907 625907 Butler, Thomas, of Bewsey, Lancs, esq 0
3801576 1958395 1958395 defendant Butler John abbot of Vale Royale Abbey   Butler, John, abbot of Vale Royale Abbey 1
3801577 1958395 1958395 defendant Tempest Richard   631602 631602 Tempest, Richard, of Bresewell, Yorks, knight 2
3801578 1958395 1958395 defendant Baynton Edward   609225 609225 Baynton, Edward, of Bromham, Wilts, knight 3
3801579 1958395 1958395 defendant Southworth Thomas   631603 631603 Southworth, Thomas, of Samesbury, Lancs, knight 4
3801580 1958395 1958395 defendant Laylond William   625912 625912 Laylond, William, of Morley, Lancs, knight 5
3801581 1958395 1958395 defendant Aston Edward esq 625913 625913 Aston, Edward, of Heywood, Staffs, esq 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 15.864ms