home / cp40x

names

6 rows where case_id = 2470403

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5383631 2470403 2470403 plaintiff Assanes Emanuel     Assanes, Emanuel 0
5383632 2470403 2470403 defendant Tregeinowe Richard gent 881033 881033 Tregeinowe, Richard, of Lower St Columba, gent 0
5383633 2470403 2470403 defendant Paule Robert chaplain 586416 586416 Paule, Robert, of Padestowe, chaplain 1
5383634 2470403 2470403 defendant Wawern John husbanman 864084 864084 Wawern, John, of St Carantok, husbanman 2
5383635 2470403 2470403 defendant Paule Richard yeoman 798459 798459 Paule, Richard, of Over St Columbe, yeoman 3
5383636 2470403 2470403 defendant Touker Andrew fuller 619782 619782 Touker, Andrew, of Lanyvet, fuller 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 14.198ms