home / cp40x

names

6 rows where case_id = 2327056

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4901428 2327056 2327056 plaintiff Trollop Thomas     Trollop, Thomas 0
4901429 2327056 2327056 defendant Fyn Robert yeoman 759352 759352 Fyn, Robert, of Thorp Basset, yeoman 0
4901430 2327056 2327056 defendant Trollop Robert saddler 586067 586067 Trollop, Robert, of York, saddler 1
4901431 2327056 2327056 defendant Barnstonmanson Adam husbandman 611338 611338 Barnstonmanson, Adam, of Carethorp, husbandman 2
4901432 2327056 2327056 defendant de Hall Henry husbandman 818649 818649 de Hall, Henry, of Killyng, husbandman 3
4901433 2327056 2327056 defendant Massam Thomas panier maker 783426 783426 Massam, Thomas, of Hilderthorp, panier maker 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 8.012ms