home / cp40x

names

6 rows where case_id = 2269821

✎ 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
4714358 2269821 2269821 plaintiff Tofte John     Tofte, John 0
4714359 2269821 2269821 defendant Kendale James husbandman 587550 587550 Kendale, James, of Eye, husbandman 0
4714360 2269821 2269821 defendant Goldyng Edmund yeoman 587004 587004 Goldyng, Edmund, of Preston, yeoman 1
4714361 2269821 2269821 defendant Ilger Thomas husbandman 601762 601762 Ilger, Thomas, of Saxham, husbandman 2
4714362 2269821 2269821 defendant Baron James smith 586180 586180 Baron, James, of Bury St Edmunds, smith 3
4714363 2269821 2269821 defendant Seman John yeoman 586953 586953 Seman, John, of Sudbury, yeoman 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 15.88ms