home / cp40x

names

8 rows where case_id = 1952039

✎ 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
3781753 1952039 1952039 plaintiff Hedy John     Hedy, John 0
3781754 1952039 1952039 defendant Gune Thomas carpenter 620937 620937 Gune, Thomas, of Pypleton, carpenter 0
3781755 1952039 1952039 defendant Brewer Thomas husbandman 628333 628333 Brewer, Thomas, of Muknyll, husbandman 1
3781756 1952039 1952039 defendant Wyke John chapman 628334 628334 Wyke, John, of Busshoppys Cleve, Glos, chapman 2
3781757 1952039 1952039 defendant A Guillam John chapman 628335 628335 A Guillam, John, of Elveld, March of Wales, chapman 3
3781758 1952039 1952039 defendant Evyttys Thomas husbandman 590688 590688 Evyttys, Thomas, of More, husbandman 4
3781759 1952039 1952039 defendant Evyttys Robert husbandman 590688 590688 Evyttys, Robert, of More, husbandman 5
3781760 1952039 1952039 defendant Egar John weaver 620937 620937 Egar, John, of Pypleton, weaver 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 6.474ms