home / cp40x

names

7 rows where case_id = 2451680

✎ 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
5322090 2451680 2451680 plaintiff Martyn Thomas     Martyn, Thomas 0
5322091 2451680 2451680 defendant Sculle William yeoman 795409 795409 Sculle, William, of Hiegham Ferrers, yeoman 0
5322092 2451680 2451680 defendant Draper Henry yeoman 795409 795409 Draper, Henry, of Hiegham Ferrers, yeoman 1
5322093 2451680 2451680 defendant Porter Thomas miller 602623 602623 Porter, Thomas, of Denford, miller 2
5322094 2451680 2451680 defendant Urpyngham Thomas husbandman 621737 621737 Urpyngham, Thomas, of Ryngstede, husbandman 3
5322095 2451680 2451680 defendant Stucle John (legal representative)   Stucle, John, executrix of 4
5322096 2451680 2451680 defendant Stucle Alice widow 795409 795409 Stucle, Alice, of Hiegham Ferrers, widow 5

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