home / cp40x

names

9 rows where case_id = 2004283

✎ 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
3941836 2004283 2004283 plaintiff Warden Nicholas haberdasher 585869 585869 Warden, Nicholas, of London, haberdasher 0
3941837 2004283 2004283 plaintiff ap Powell Robert haberdasher 585869 585869 ap Powell, Robert, of London, haberdasher 1
3941838 2004283 2004283 defendant Dymmoke William   586606 586606 Dymmoke, William, of Chester, iron monger 0
3941839 2004283 2004283 defendant Truslowe alias Struslowe Robert (legal representative) 606578 606578 Truslowe alias Struslowe, Robert, of Devizes, mercer, executors of 1
3941840 2004283 2004283 defendant Farr Roger yeoman 604452 604452 (Farr, Roger, of Devizes, Wilts, yeoman 2
3941841 2004283 2004283 defendant Farr Elizabeth     Elizabeth, his wife 3
3941842 2004283 2004283 defendant Moysley John (legal representative) 656816 656816 Moysley, John, of Asberton, in the Peak district of Derbs, executors of 4
3941843 2004283 2004283 defendant Asshenhurst John chapman 656817 656817 (Asshenhurst, John, of Asberton, Derbs, chapman 5
3941844 2004283 2004283 defendant Asshenhurst Joyce     Joyce, his wife 6

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