home / cp40x

names

6 rows where case_id = 2440669

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5285102 2440669 2440669 plaintiff Gray Thomas knight   Gray, Thomas, knight 0
5285103 2440669 2440669 defendant Sexten John yeoman 620428 620428 Sexten, John, of Yaxley, Hunts, yeoman 0
5285104 2440669 2440669 defendant Peyntour John yeoman 622808 622808 Peyntour, John, of Swasey, yeoman 1
5285105 2440669 2440669 defendant Colchestre Robert yeoman 610910 610910 Colchestre, Robert, of Glatton, Hunts, yeoman 2
5285106 2440669 2440669 defendant Boughton William yeoman 585978 585978 Boughton, William, of St Neots, Hunts, yeoman 3
5285107 2440669 2440669 defendant Aldyng William yeoman 593015 593015 Aldyng, William, of Melreth, yeoman 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 15.576ms