home / cp40x

names

7 rows where case_id = 2504705

✎ 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
5499191 2504705 2504705 plaintiff Perpount Henry knight   Perpount, Henry, knight 0
5499192 2504705 2504705 defendant Dorant Thomas, junior gent 586787 586787 Dorant, Thomas, junior, of Chesterfeld, Derbs, gent 0
5499193 2504705 2504705 defendant Lynacre John gent 636390 636390 together with Lynacre, John, of Brampton, Derbs, gent 1
5499194 2504705 2504705 defendant Baret Thomas chaplain 893688 893688 Baret, Thomas, of Elmeton, Derbs, chaplain 2
5499195 2504705 2504705 defendant Wryght Thomas cordwainer 587631 587631 Wryght, Thomas, of Chesterfeld, cordwainer 3
5499196 2504705 2504705 defendant Wryght Richard cordwainer 587631 587631 Wryght, Richard, of Chesterfeld, cordwainer 4
5499197 2504705 2504705 defendant Asshe William yeoman 586779 586779 Asshe, William, of Brampton, yeoman 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.194ms