home / cp40x

names

6 rows where case_id = 2323352

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4889004 2323352 2323352 plaintiff Flete William mercer 585869 585869 Flete, William, of London, mercer 0
4889005 2323352 2323352 defendant Boughton Thomas parson of Norton Davy, Nhants   Boughton, Thomas, parson of Norton Davy, Nhants 0
4889006 2323352 2323352 defendant Boughton Richard husbandman 595547 595547 Boughton, Richard, of Norton Davy, husbandman 1
4889007 2323352 2323352 defendant Regeley Thomas gent 660001 660001 Regeley, Thomas, of Donton, Warks, gent 2
4889008 2323352 2323352 defendant Cantelowe John yeoman 644302 644302 Cantelowe, John, of Busshe, Herts, yeoman 3
4889009 2323352 2323352 defendant Penycok John parson of Honysden, Herts   Penycok, John, parson of Honysden, Herts 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 8.09ms