home / cp40x

names

9 rows where case_id = 1971875

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3844664 1971875 1971875 plaintiff Dawtrey John knight   Dawtrey, John, knight 0
3844665 1971875 1971875 defendant Roos Robert clothier 595716 595716 Roos, Robert, of Neylond, Suff, clothier 0
3844666 1971875 1971875 defendant Abbis James clothier 591362 591362 Abbis, James, of Neylond, clothier 1
3844667 1971875 1971875 defendant Pygott Anthony clothier 591362 591362 Pygott, Anthony, of Neylond, clothier 2
3844668 1971875 1971875 defendant Tompson John clothier 591362 591362 Tompson, John, of Neylond, clothier 3
3844669 1971875 1971875 defendant Malle John clothier 591362 591362 Malle, John, of Neylond, clothier 4
3844670 1971875 1971875 defendant Roos Edward clothier 591362 591362 Roos, Edward, of Neylond, clothier 5
3844671 1971875 1971875 defendant Rutter Christopher clothier 591362 591362 Rutter, Christopher, of Neylond, clothier 6
3844672 1971875 1971875 defendant Austen John clothier 591362 591362 Austen, John, of Neylond, clothier 7

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