home / cp40x

names

6 rows where case_id = 2508487

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5511636 2508487 2508487 plaintiff Kynfare John     Kynfare, John 0
5511637 2508487 2508487 defendant Petry John (legal representative) 588611 588611 Petry, John, of Strode, notary, executors of 0
5511638 2508487 2508487 defendant Gerlond William yeoman 895024 895024 (Gerlond, William, of Stanford Hope, Essex, yeoman 1
5511639 2508487 2508487 defendant Tukker Thomas laborer 596550 596550 Tukker, Thomas, of Rochester St Margaret, laborer 2
5511640 2508487 2508487 defendant Rutlond William   588779 588779 Rutlond, William, of Gravesend, hackney man 3
5511641 2508487 2508487 defendant Thruston John, junior husbandman 590026 590026 Thruston, John, junior, of Higham, husbandman 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 13.49ms