home / cp40x

names

7 rows where case_id = 2006667

✎ 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
3948859 2006667 2006667 plaintiff Dighton Edmund esq 599019 599019 Dighton, Edmund, of Stirton, esq 0
3948860 2006667 2006667 plaintiff Hunter Robert mercer   Hunter, Robert, mercer 1
3948861 2006667 2006667 plaintiff Mellowys Ralph husbandman   Mellowys, Ralph, husbandman 2
3948862 2006667 2006667 plaintiff Bowtman Robert     Bowtman, Robert 3
3948863 2006667 2006667 defendant Granger William laborer 658539 658539 Granger, William, of Waddyngworth, laborer 0
3948864 2006667 2006667 defendant Maltby John husbandman 658540 658540 Maltby, John, of Waddyngworthe, husbandman 1
3948865 2006667 2006667 defendant Thompson Thomas carpenter 589231 589231 Thompson, Thomas, of Hemyngby, carpenter 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 16.137ms