home / cp40x

names

6 rows where case_id = 2099587

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4211532 2099587 2099587 plaintiff Vallenger Thomas gent, attorney   Vallenger, Thomas, gent, attorney 0
4211533 2099587 2099587 defendant Hares William yeoman 588663 588663 Hares, William, of Tylney, yeoman 0
4211534 2099587 2099587 defendant Harvye Thomas husbandman 596822 596822 Harvye, Thomas, of Walsoken, husbandman 1
4211535 2099587 2099587 defendant Honyter John husbandman 596822 596822 Honyter, John, of Walsoken, husbandman 2
4211536 2099587 2099587 defendant Faltrope William (legal representative)   Faltrope, William, executor of 3
4211537 2099587 2099587 defendant Parlett William   617668 617668 Parlett, William, of Downham Markett 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.34ms