home / cp40x

names

6 rows where place_id = 608157

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3672415 1917374 1917374 defendant Porthay William gent 608157 608157 Porthay, William, of Ryton, Yorks, gent 3
3682506 1920631 1920631 defendant Percy Walter esq 608157 608157 Percy, Walter, of Ryton, Yorks, esq 1
3727642 1934921 1934921 defendant Percy William   608157 608157 Percy, William, of Ryton, Yorks, knight 4
5063185 2375522 2375522 defendant Percy John esq 608157 608157 (Percy, John, of Ryton, Yorks, esq 1
5534635 2515374 2515374 defendant Parschay Leon esq 608157 608157 Parschay, Leon, of Ryton, Yorks, esq 0
5534637 2515375 2515375 defendant Pershehey Leo esq 608157 608157 Pershehey, Leo, of Ryton, Yorks, esq 0

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