home / cp40x

names

6 rows where case_id = 1908085

✎ 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
3642456 1908085 1908085 plaintiff Caus Gregory mercer 585936 585936 Caus, Gregory, of Norwich, mercer 0
3642457 1908085 1908085 defendant Bumsted William gent 600774 600774 Bumsted, William, of Wyllyngham St Mary, Suff, gent 0
3642458 1908085 1908085 defendant Clere Thomas gent 585936 585936 Clere, Thomas, of Norwich, gent 1
3642459 1908085 1908085 defendant Dade Roger tanner 590708 590708 Dade, Roger, of Weybrede, Suff, tanner 2
3642460 1908085 1908085 defendant Cappe John butcher 600775 600775 Cappe, John, of Hygham juxta Norwich, butcher 3
3642461 1908085 1908085 defendant Rysyng Thomas   585936 585936 Rysyng, Thomas, of Norwich, worsted weaver 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 14.26ms