home / cp40x

names

7 rows where case_id = 2018847

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3983420 2018847 2018847 plaintiff Soham Thomas, senior gent 589533 589533 Soham, Thomas, senior, of Beteley, gent 0
3983421 2018847 2018847 defendant Deye Robert   585936 585936 Deye, Robert, of Norwich, wheelwright 0
3983422 2018847 2018847 defendant Heydon Thomas gent 585936 585936 Heydon, Thomas, of Norwich, gent 1
3983423 2018847 2018847 defendant Rothewell Hugh yeoman 667028 667028 Rothewell, Hugh, of Reynham St Mary, Norf, yeoman 2
3983424 2018847 2018847 defendant Boyton John husbandman 626850 626850 Boyton, John, of Hoo juxta Est Derham, Norf, husbandman 3
3983425 2018847 2018847 defendant Trenche John husbandman 587172 587172 Trenche, John, of Est Derham, husbandman 4
3983426 2018847 2018847 defendant Harris William miller 599525 599525 Harris, William, of North Elmham, Norf, miller 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 17.097ms