home / cp40x

names

6 rows where case_id = 1915029

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3665086 1915029 1915029 plaintiff Smyth John maker of red & violet dyes from lichens 586134 586134 Smyth, John, of Ipswich, maker of red & violet dyes from lichens 0
3665087 1915029 1915029 defendant Pone John gover 603995 603995 Pone, John, of Stoke by Ipswich, gover 0
3665088 1915029 1915029 defendant Waren Nicholas husbandman 606411 606411 Waren, Nicholas, of Martyllysham, husbandman 1
3665089 1915029 1915029 defendant Breton John   591076 591076 Breton, John, of East Bergholt, cloth maker 2
3665090 1915029 1915029 defendant Wodward John sheer man 591076 591076 Wodward, John, of East Bergholt, sheer man 3
3665091 1915029 1915029 defendant Dyglate John smith 606414 606414 Dyglate, John, of Pedmersham, Essex, smith 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.534ms