home / cp40x

names

6 rows where case_id = 2435129

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5266034 2435129 2435129 plaintiff Trenga John     Trenga, John 0
5266035 2435129 2435129 defendant Potfort Henry husbandman 865509 865509 Potfort, Henry, of Trypkunyn, husbandman 0
5266036 2435129 2435129 defendant William Michael husbandman 866026 866026 William, Michael, of Trenargan, husbandman 1
5266037 2435129 2435129 defendant Carter Simon husbandman 866027 866027 Carter, Simon, of Tregaswith, husbandman 2
5266038 2435129 2435129 defendant Vyvyan Richard yeoman 866028 866028 Vyvyan, Richard, of Trewenelek, yeoman 3
5266039 2435129 2435129 defendant Peen William skinner 600523 600523 Peen, William, of St Columbe the Over, skinner 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 5.775ms