home / cp40x

names

7 rows where case_id = 2113808

✎ 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
4252433 2113808 2113808 plaintiff Dirrick John (legal representative)   Dirrick, John, executor of 0
4252434 2113808 2113808 plaintiff Dirricke William     Dirricke, William 1
4252435 2113808 2113808 defendant Whittocke Richard husbandman 621072 621072 Whittocke, Richard, of Churchill, husbandman 0
4252436 2113808 2113808 defendant Page Richard (legal representative) 723781 723781 Page, Richard, of Chirchill, husbandman, administratrix of 1
4252437 2113808 2113808 defendant Page Margaret widow 723781 723781 Page, Margaret, of Chirchill, widow 2
4252438 2113808 2113808 defendant Whoper John Wynscombe, husbandman 589408 589408 Whoper John, of Standford, Wynscombe, husbandman 3
4252439 2113808 2113808 defendant Alford John potter 718612 718612 Alford, John, of Bydyford, Devon, husbandman, potter 4

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