home / cp40x

names

6 rows where case_id = 1965243

✎ 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
3823465 1965243 1965243 plaintiff Tuke Brian knight, treasurer of the chamber   Tuke, Brian, knight, treasurer of the chamber 0
3823466 1965243 1965243 plaintiff Englefeld Thomas Justice   Englefeld, Thomas, Justice 1
3823467 1965243 1965243 plaintiff Paulett William knight   Paulett, William, knight 2
3823468 1965243 1965243 defendant Bugby John gent 635146 635146 Bugby, John, of Agarsley, Derbs, gent 0
3823469 1965243 1965243 defendant Knyght Roger clerk of the seal 585869 585869 Knyght, Roger, of London, clerk of the seal 1
3823470 1965243 1965243 defendant Bendon Thomas gent 611674 611674 Bendon, Thomas, of Bodyham, Sussex, gent 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 9.517ms