home / cp40x

names

6 rows where case_id = 1943035

✎ 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
3753508 1943035 1943035 plaintiff Smyth Richard (legal representative) 585869 585869 Smyth, Richard, of London, merchant tailor, executors of 0
3753509 1943035 1943035 plaintiff Smyth John     (Smyth, John 1
3753510 1943035 1943035 plaintiff Bylsdon John     Bylsdon, John 2
3753511 1943035 1943035 defendant Brereton John   623637 623637 Brereton, John, of Thyrlee, Beds, yeoman, bailiff of Richard Grey, Earl of Kent 0
3753512 1943035 1943035 defendant Bentley Thomas yeoman 623638 623638 Bentley, Thomas, of Dunstabell, Beds, yeoman 1
3753513 1943035 1943035 defendant Steward John yeoman 623639 623639 Steward, John, of Byklyswade, Beds, yeoman 2

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 16.979ms