home / cp40x

names

9 rows where case_id = 2209563

✎ 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
4529671 2209563 2209563 plaintiff Moyle John     Moyle, John 0
4529672 2209563 2209563 defendant Quynt John   599869 599869 Quynt, John, of Lostwythyell 0
4529673 2209563 2209563 defendant Brusya Stephen     Brusya, Stephen 1
4529674 2209563 2209563 defendant Dira John chaplain   Dira, John, chaplain 2
4529675 2209563 2209563 defendant Trevysek Geoffrey     Trevysek, Geoffrey 3
4529676 2209563 2209563 defendant Archer John   605237 605237 Archer, John, of St Mewan 4
4529677 2209563 2209563 defendant Tywardreyth Pastus chaplain   Tywardreyth, Pastus, chaplain 5
4529678 2209563 2209563 defendant Hode Robert chaplain   Hode, Robert, chaplain 6
4529679 2209563 2209563 defendant Putford John   766591 766591 Putford, John, of tregaswyth 7

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