home / cp40x

names

6 rows where case_id = 2007354

✎ 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
3950813 2007354 2007354 plaintiff Gleane Thomas     Gleane, Thomas 0
3950814 2007354 2007354 defendant Carter Thomas gent 659039 659039 Carter, Thomas, of Dynnyngton, Suff, gent 0
3950815 2007354 2007354 defendant Kenyngham William   585869 585869 Kenyngham, William, of London, doctor of medicine 1
3950816 2007354 2007354 defendant Gardiner Robert gent 588117 588117 Gardiner, Robert, of Wrentham, Suff, gent 2
3950817 2007354 2007354 defendant Salysbury John clerk 585936 585936 Salysbury, John, of Norwich, clerk 3
3950818 2007354 2007354 defendant Barker Henry of Wynfarthynge, Norf, carpenter   Barker, Henry, ,of Wynfarthynge, Norf, carpenter 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 16.541ms