home / cp40x

names

7 rows where case_id = 2438414

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5277183 2438414 2438414 plaintiff Aleyn John     Aleyn, John 0
5277184 2438414 2438414 defendant Edryche John yeoman 587751 587751 Edryche, John, of Bongey, Suff, yeoman 0
5277185 2438414 2438414 defendant Wattysfeld William yeoman 586363 586363 Wattysfeld, William, of Bungey, yeoman 1
5277186 2438414 2438414 defendant FitzPas John yeoman 589307 589307 FitzPas, John, of Bongay, yeoman 2
5277187 2438414 2438414 defendant Chapman Henry yeoman 603840 603840 Chapman, Henry, of Bungay, yeoman 3
5277188 2438414 2438414 defendant Duffeld John yeoman 602414 602414 Duffeld, John, of Bongey, yeoman 4
5277189 2438414 2438414 defendant Wever John yeoman 621570 621570 Wever, John, of Dechyngham, yeoman 5

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.717ms