home / cp40x

names

6 rows where case_id = 2381020

✎ 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
5081653 2381020 2381020 plaintiff Dalyson William     Dalyson, William 0
5081654 2381020 2381020 defendant Brese Thomas husbandman 588382 588382 Brese, Thomas, of Frysby, husbandman 0
5081655 2381020 2381020 defendant Wiotson Thomas husbandman 597124 597124 Wiotson, Thomas, of Waynflete, husbandman 1
5081656 2381020 2381020 defendant Odeham John husbandman 802691 802691 Odeham, John, of Kirkeby juxta Bolyngbroke, husbandman 2
5081657 2381020 2381020 defendant Helwis Robert chaplain 629930 629930 Helwis, Robert, of Wyllughby, chaplain 3
5081658 2381020 2381020 defendant Rede John husbandman 597124 597124 Rede, John, of Waynflete, 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.523ms