home / cp40x

names

6 rows where case_id = 2010431

✎ 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
3959546 2010431 2010431 plaintiff Sleford Richard (legal representative) 661184 661184 Sleford, Richard, of Willestrop, gent, administrator of 0
3959547 2010431 2010431 plaintiff Sleford Thomas gent   Sleford, Thomas, gent 1
3959548 2010431 2010431 defendant Jaye Robert son of Thomas, yeoman   Jaye, Robert, son of Thomas, yeoman, executors of 0
3959549 2010431 2010431 defendant Stanley William yeoman 588837 588837 (Stanley, William, of Newarke, Notts, yeoman 1
3959550 2010431 2010431 defendant Thorpe Richard husbandman 618645 618645 Thorpe, Richard, of Harmeston, husbandman 2
3959551 2010431 2010431 defendant Roper John husbandman 618126 618126 Roper, John, of Branston, husbandman 3

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