home / cp40x

names

7 rows where case_id = 2503168

✎ 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
5494194 2503168 2503168 plaintiff Forward John abbot of Quarre Abbey   Forward, John, abbot of Quarre Abbey 0
5494195 2503168 2503168 defendant Johnson Maurice clerk 893180 893180 Johnson, Maurice, of Rowener, clerk 0
5494196 2503168 2503168 defendant Carpenter Thomas husbandman 893180 893180 Carpenter, Thomas, of Rowener, husbandman 1
5494197 2503168 2503168 defendant Brounyng Andrew husbandman 893180 893180 Brounyng, Andrew, of Rowener, husbandman 2
5494198 2503168 2503168 defendant Beke John husbandman 586459 586459 Beke, John, of Stoke, husbandman 3
5494199 2503168 2503168 defendant Spycer John husbandman 586459 586459 Spycer, John, of Stoke, husbandman 4
5494200 2503168 2503168 defendant Scales John tailor 630367 630367 Scales, John, of Gosport, tailor 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 12.268ms